Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 282.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8895/0.8895, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 99.67 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1264, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002094/0.1286, allocations: 1.326 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3973/0.5259, allocations: 148.1 MB / 0.8262 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.526, allocations: 0.625 kB / 0.8262 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.5261, allocations: 5.953 kB / 0.8262 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.324e-05/0.5262, allocations: 12.14 kB / 0.8262 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.527, allocations: 334.1 kB / 0.8265 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.5271, allocations: 58.58 kB / 0.8266 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.5272, allocations: 7.438 kB / 0.8266 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.91e-05/0.5272, allocations: 29.33 kB / 0.8266 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.5273, allocations: 35.73 kB / 0.8266 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.5273, allocations: 6.219 kB / 0.8266 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.528, allocations: 408.7 kB / 0.827 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.528, allocations: 15.66 kB / 0.8271 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.5281, allocations: 33.16 kB / 0.8271 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.5283, allocations: 160.5 kB / 0.8272 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5283, allocations: 0 / 0.8272 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5283, allocations: 0 / 0.8272 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5283, allocations: 0 / 0.8272 GB, free: 1.121 MB / 0.5606 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.0004036/0.5288, allocations: 390.3 kB / 0.8276 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.5288, allocations: 9.625 kB / 0.8276 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.5288, allocations: 39.06 kB / 0.8277 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.5292, allocations: 39.42 kB / 0.8277 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.5293, allocations: 161.5 kB / 0.8278 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.5293, allocations: 7.281 kB / 0.8279 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.5293, allocations: 14.19 kB / 0.8279 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5295, allocations: 86.52 kB / 0.828 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5295, allocations: 0 / 0.828 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5295, allocations: 5.031 kB / 0.828 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5295, allocations: 2 kB / 0.828 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.5296, allocations: 47.7 kB / 0.828 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.5298, allocations: 193.2 kB / 0.8282 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.5299, allocations: 89.55 kB / 0.8283 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.53, allocations: 34.09 kB / 0.8283 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.5302, allocations: 176.7 kB / 0.8285 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.5302, allocations: 36.56 kB / 0.8285 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.5302, allocations: 0 / 0.8285 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001124/0.5314, allocations: 0.5457 MB / 0.829 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.5314, allocations: 58.12 kB / 0.8291 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.5314, allocations: 102.3 kB / 0.8292 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5315, allocations: 31.3 kB / 0.8292 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.5315, allocations: 80.52 kB / 0.8293 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.5315, allocations: 70.61 kB / 0.8294 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.5316, allocations: 46.83 kB / 0.8294 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.5317, allocations: 318.7 kB / 0.8297 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.5317, allocations: 36.09 kB / 0.8298 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.5318, allocations: 68.55 kB / 0.8298 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.5319, allocations: 112.5 kB / 0.8299 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.532, allocations: 5.625 kB / 0.8299 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001992/0.5322, allocations: 157.1 kB / 0.8301 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5322, allocations: 12.41 kB / 0.8301 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5322, allocations: 1.094 kB / 0.8301 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.5322, allocations: 2.375 kB / 0.8301 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.5324, allocations: 43.05 kB / 0.8301 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5324, allocations: 2.312 kB / 0.8301 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.5324, allocations: 11.61 kB / 0.8302 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.5324, allocations: 5.781 kB / 0.8302 GB, free: 14.93 MB / 0.5762 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 7.084e-05/0.5325, allocations: 126.4 kB / 0.8303 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.5325, allocations: 8.75 kB / 0.8303 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.5326, allocations: 21.75 kB / 0.8303 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5326, allocations: 2.125 kB / 0.8303 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5326, allocations: 0 / 0.8303 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5326, allocations: 5.156 kB / 0.8303 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.5327, allocations: 190.7 kB / 0.8305 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5327, allocations: 0 / 0.8305 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.5329, allocations: 34.67 kB / 0.8305 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.5329, allocations: 1.031 kB / 0.8305 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.533, allocations: 13.47 kB / 0.8305 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.533, allocations: 3.438 kB / 0.8305 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.533, allocations: 0 / 0.8305 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5332, allocations: 208.2 kB / 0.8307 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.5333, allocations: 94.27 kB / 0.8308 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.5333, allocations: 2 kB / 0.8308 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.5334, allocations: 9.234 kB / 0.8308 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.5335, allocations: 17.59 kB / 0.8309 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5335, allocations: 8.656 kB / 0.8309 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.5335, allocations: 77.62 kB / 0.8309 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5335, allocations: 0 / 0.8309 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002059/0.5337, allocations: 28.34 kB / 0.831 GB, free: 14.35 MB / 0.5762 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.0004611/0.5342, allocations: 0.7546 MB / 0.8317 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.5344, allocations: 120.5 kB / 0.8318 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5344, allocations: 1.031 kB / 0.8318 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.528e-05/0.5345, allocations: 55.42 kB / 0.8319 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.5347, allocations: 18.5 kB / 0.8319 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5362, allocations: 1.822 MB / 0.8337 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.5364, allocations: 0.7072 MB / 0.8344 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.5365, allocations: 23.16 kB / 0.8344 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.5366, allocations: 24.25 kB / 0.8344 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5366, allocations: 0 / 0.8344 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6435/1.18, allocations: 2.38 MB / 0.8367 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/10.68, allocations: 18.95 kB / 0.8368 GB, free: 11.16 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)