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.001598/0.001598, 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.002073/0.002073, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.769/1.769, allocations: 222.9 MB / 240.2 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002329, allocations: 287 kB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00354/0.00354, allocations: 99.33 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2457, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.003636/0.2494, allocations: 1.323 MB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6972/0.9467, allocations: 148.1 MB / 0.8262 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.9468, allocations: 4.5 kB / 0.8262 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.014e-05/0.9469, allocations: 3.938 kB / 0.8262 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.9471, allocations: 15.3 kB / 0.8262 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.9488, allocations: 331.9 kB / 0.8265 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.949, allocations: 57.59 kB / 0.8266 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.9491, allocations: 6.562 kB / 0.8266 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.9491, allocations: 34.7 kB / 0.8266 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.9493, allocations: 32.23 kB / 0.8266 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.9493, allocations: 3.5 kB / 0.8267 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.9506, allocations: 409.7 kB / 0.827 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.9507, allocations: 19.67 kB / 0.8271 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.9508, allocations: 27.48 kB / 0.8271 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.9513, allocations: 163.2 kB / 0.8272 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9513, allocations: 0.9062 kB / 0.8272 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9513, allocations: 0 / 0.8272 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9513, allocations: 1.125 kB / 0.8272 GB, free: 1.164 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.0006719/0.952, allocations: 385 kB / 0.8276 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.9521, allocations: 10.22 kB / 0.8276 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.9521, allocations: 38.8 kB / 0.8277 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.9528, allocations: 38.3 kB / 0.8277 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.953, allocations: 170.6 kB / 0.8279 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.953, allocations: 9.625 kB / 0.8279 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.9531, allocations: 15.52 kB / 0.8279 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.9534, allocations: 77.55 kB / 0.828 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9534, allocations: 1.094 kB / 0.828 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.9534, allocations: 4.688 kB / 0.828 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.9535, allocations: 1 kB / 0.828 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.9536, allocations: 47.88 kB / 0.828 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.9539, allocations: 187.2 kB / 0.8282 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.9542, allocations: 93.59 kB / 0.8283 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.9543, allocations: 32.06 kB / 0.8283 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.9547, allocations: 181.5 kB / 0.8285 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.9547, allocations: 31.91 kB / 0.8285 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.704e-06/0.9547, allocations: 4 kB / 0.8285 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.002009/0.9568, allocations: 0.5453 MB / 0.829 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.9568, allocations: 53.53 kB / 0.8291 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.9569, allocations: 103.4 kB / 0.8292 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.957, allocations: 30.36 kB / 0.8292 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.957, allocations: 84.67 kB / 0.8293 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.9571, allocations: 66.89 kB / 0.8294 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.9572, allocations: 40.09 kB / 0.8294 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9573, allocations: 318.3 kB / 0.8297 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.9574, allocations: 37.48 kB / 0.8297 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.9576, allocations: 71.14 kB / 0.8298 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.9578, allocations: 120.9 kB / 0.8299 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9578, allocations: 0 / 0.8299 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003361/0.9581, allocations: 156.4 kB / 0.8301 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.9582, allocations: 9.188 kB / 0.8301 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9582, allocations: 1.062 kB / 0.8301 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.9582, allocations: 1.625 kB / 0.8301 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.9585, allocations: 43.61 kB / 0.8301 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.9585, allocations: 1.531 kB / 0.8301 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.9586, allocations: 9.25 kB / 0.8301 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.9586, allocations: 9.156 kB / 0.8301 GB, free: 14.98 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 0.0001251/0.9588, allocations: 120.5 kB / 0.8303 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.9588, allocations: 9.438 kB / 0.8303 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.9589, allocations: 18.06 kB / 0.8303 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9589, allocations: 2.781 kB / 0.8303 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.9589, allocations: 0 / 0.8303 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.9589, allocations: 10.98 kB / 0.8303 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.9592, allocations: 192.8 kB / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9592, allocations: 0 / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.9595, allocations: 39.16 kB / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.9595, allocations: 1.25 kB / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.9596, allocations: 4.625 kB / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9596, allocations: 1.031 kB / 0.8305 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9596, allocations: 6.875 kB / 0.8305 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.9601, allocations: 215.4 kB / 0.8307 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.9602, allocations: 91.31 kB / 0.8308 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.9602, allocations: 13.38 kB / 0.8308 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.9604, allocations: 3.25 kB / 0.8308 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.9605, allocations: 17.45 kB / 0.8309 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.9605, allocations: 4.25 kB / 0.8309 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.9606, allocations: 82.84 kB / 0.8309 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9606, allocations: 0 / 0.8309 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003926/0.961, allocations: 25.56 kB / 0.831 GB, free: 14.39 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.0008835/0.9619, allocations: 0.7519 MB / 0.8317 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.9622, allocations: 118.7 kB / 0.8318 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9623, allocations: 0 / 0.8318 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.9624, allocations: 56.61 kB / 0.8319 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.9628, allocations: 21.78 kB / 0.8319 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.9657, allocations: 1.816 MB / 0.8337 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.9661, allocations: 0.6999 MB / 0.8344 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.9664, allocations: 22.78 kB / 0.8344 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.9665, allocations: 29.42 kB / 0.8344 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.9665, allocations: 0 / 0.8344 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.9889, allocations: 2.389 MB / 0.8367 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.18, allocations: 17.12 kB / 0.8367 GB, free: 11.21 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)