Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007645, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004457/0.004457, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 12.59 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 116.3 MB / 0.788 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00117/0.1702, allocations: 1.06 MB / 0.789 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4407/0.6109, allocations: 144.2 MB / 0.9299 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.611, allocations: 3.156 kB / 0.9299 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.611, allocations: 6 kB / 0.9299 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.6111, allocations: 12.81 kB / 0.9299 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.6119, allocations: 303.3 kB / 0.9302 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.612, allocations: 82.38 kB / 0.9303 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.6121, allocations: 3.422 kB / 0.9303 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.6121, allocations: 36.23 kB / 0.9303 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.6122, allocations: 28.7 kB / 0.9303 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.6122, allocations: 6.969 kB / 0.9303 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.6129, allocations: 0.4957 MB / 0.9308 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.613, allocations: 16.14 kB / 0.9308 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.613, allocations: 53.62 kB / 0.9309 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.6133, allocations: 184.1 kB / 0.9311 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6133, allocations: 0 / 0.9311 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6133, allocations: 0 / 0.9311 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.6133, allocations: 0 / 0.9311 GB, free: 1.77 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004/0.6137, allocations: 381.8 kB / 0.9314 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.6138, allocations: 8.625 kB / 0.9314 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.6138, allocations: 39.36 kB / 0.9315 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.6141, allocations: 40.23 kB / 0.9315 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.6142, allocations: 163.2 kB / 0.9317 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.6143, allocations: 12.83 kB / 0.9317 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.6143, allocations: 12.81 kB / 0.9317 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.6144, allocations: 74.69 kB / 0.9318 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.6144, allocations: 4 kB / 0.9318 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6145, allocations: 2.75 kB / 0.9318 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6145, allocations: 0 / 0.9318 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.6145, allocations: 49.34 kB / 0.9318 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.6147, allocations: 188.2 kB / 0.932 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6148, allocations: 93.16 kB / 0.9321 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.6149, allocations: 37.44 kB / 0.9321 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.6151, allocations: 175 kB / 0.9323 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.6151, allocations: 40.53 kB / 0.9323 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.6151, allocations: 0 / 0.9323 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001063/0.6162, allocations: 0.5368 MB / 0.9329 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.6163, allocations: 54.09 kB / 0.9329 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.6163, allocations: 105 kB / 0.933 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.6163, allocations: 29.45 kB / 0.933 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.6164, allocations: 83.3 kB / 0.9331 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.6164, allocations: 73.8 kB / 0.9332 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.6164, allocations: 26.11 kB / 0.9332 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.6166, allocations: 319.1 kB / 0.9335 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.6166, allocations: 34.55 kB / 0.9335 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.6167, allocations: 73.36 kB / 0.9336 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.6168, allocations: 120.2 kB / 0.9337 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.6168, allocations: 7.938 kB / 0.9337 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001734/0.617, allocations: 151.7 kB / 0.9339 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.617, allocations: 5.25 kB / 0.9339 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.617, allocations: 0 / 0.9339 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.617, allocations: 2.625 kB / 0.9339 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.6172, allocations: 39.89 kB / 0.9339 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.6172, allocations: 0 / 0.9339 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.6172, allocations: 10.44 kB / 0.9339 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6172, allocations: 7.688 kB / 0.9339 GB, free: 15.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.6173, allocations: 127 kB / 0.9341 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.6174, allocations: 9.156 kB / 0.9341 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.6174, allocations: 16.06 kB / 0.9341 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6174, allocations: 4.375 kB / 0.9341 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6174, allocations: 0 / 0.9341 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6174, allocations: 7.125 kB / 0.9341 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.6176, allocations: 196.6 kB / 0.9343 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6176, allocations: 2.734 kB / 0.9343 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6177, allocations: 36.69 kB / 0.9343 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6177, allocations: 2.625 kB / 0.9343 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.6178, allocations: 4 kB / 0.9343 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6178, allocations: 2.625 kB / 0.9343 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6178, allocations: 0 / 0.9343 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.618, allocations: 217.9 kB / 0.9345 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.6181, allocations: 90.81 kB / 0.9346 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.6181, allocations: 8.438 kB / 0.9346 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6182, allocations: 4.641 kB / 0.9346 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.6182, allocations: 21.03 kB / 0.9347 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.6183, allocations: 5.25 kB / 0.9347 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.6183, allocations: 78.98 kB / 0.9347 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6183, allocations: 0 / 0.9347 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000193/0.6185, allocations: 28.19 kB / 0.9348 GB, free: 15 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004622/0.619, allocations: 0.7471 MB / 0.9355 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.6191, allocations: 109.4 kB / 0.9356 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6191, allocations: 0 / 0.9356 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.6192, allocations: 58.47 kB / 0.9357 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.6194, allocations: 16.56 kB / 0.9357 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.6208, allocations: 1.93 MB / 0.9376 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.6211, allocations: 0.7004 MB / 0.9382 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.6212, allocations: 20.48 kB / 0.9383 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.6213, allocations: 25.22 kB / 0.9383 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6213, allocations: 0 / 0.9383 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.573/2.194, allocations: 2.165 MB / 0.9404 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/2.194, allocations: 192 kB / 0.9406 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/4.174, allocations: 3.938 kB / 0.9406 GB, free: 11.71 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)