Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.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.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",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.001373/0.001373, allocations: 105.4 kB / 15.7 MB, free: 24 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.001293/0.001293, allocations: 198.9 kB / 16.64 MB, free: 6.453 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.805/1.805, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001481/0.001481, allocations: 64.2 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2261, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7134/0.9395, allocations: 149.1 MB / 0.9292 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007878/0.9475, allocations: 7.055 MB / 0.9361 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.9477, allocations: 5.281 kB / 0.9361 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.9481, allocations: 68.11 kB / 0.9362 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.9486, allocations: 127.7 kB / 0.9363 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.9517, allocations: 0.9978 MB / 0.9373 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.9521, allocations: 316.9 kB / 0.9376 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.9522, allocations: 12.5 kB / 0.9376 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.9526, allocations: 195.1 kB / 0.9378 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.9529, allocations: 133.5 kB / 0.9379 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.9529, allocations: 8.625 kB / 0.9379 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.9555, allocations: 1.19 MB / 0.9391 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.9556, allocations: 70.7 kB / 0.9391 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.9558, allocations: 102.2 kB / 0.9392 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.9574, allocations: 0.6263 MB / 0.9398 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.9574, allocations: 7.125 kB / 0.9399 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9574, allocations: 0 / 0.9399 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.9575, allocations: 0.5312 kB / 0.9399 GB, free: 2.137 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001481/0.959, allocations: 0.581 MB / 0.9404 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.959, allocations: 10 kB / 0.9404 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/0.9591, allocations: 56.84 kB / 0.9405 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.9604, allocations: 135.2 kB / 0.9406 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.9607, allocations: 217.1 kB / 0.9408 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.9607, allocations: 22.45 kB / 0.9408 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.9608, allocations: 18.97 kB / 0.9409 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.9614, allocations: 337.8 kB / 0.9412 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9614, allocations: 0 / 0.9412 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.9614, allocations: 11.03 kB / 0.9412 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.9615, allocations: 15.06 kB / 0.9412 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.9621, allocations: 326.6 kB / 0.9415 GB, free: 17.34 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.9637, allocations: 1.107 MB / 0.9426 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.9643, allocations: 186.3 kB / 0.9428 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.9644, allocations: 95.7 kB / 0.9429 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.965, allocations: 460.6 kB / 0.9433 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.9651, allocations: 33.22 kB / 0.9433 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.9651, allocations: 1.203 kB / 0.9433 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0007484/0.9658, allocations: 267.7 kB / 0.9436 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.9659, allocations: 52.88 kB / 0.9436 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.9661, allocations: 201 kB / 0.9438 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.9662, allocations: 27.92 kB / 0.9439 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.9663, allocations: 147.4 kB / 0.944 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.9663, allocations: 72.78 kB / 0.9441 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.9664, allocations: 53.52 kB / 0.9441 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9666, allocations: 334.1 kB / 0.9444 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.9667, allocations: 80.06 kB / 0.9445 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9669, allocations: 160.3 kB / 0.9447 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.9673, allocations: 247.3 kB / 0.9449 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9673, allocations: 3.188 kB / 0.9449 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000658/0.9679, allocations: 282.8 kB / 0.9452 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.968, allocations: 6.938 kB / 0.9452 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.968, allocations: 2.625 kB / 0.9452 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.968, allocations: 8.312 kB / 0.9452 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.9683, allocations: 59.08 kB / 0.9453 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.9684, allocations: 9.297 kB / 0.9453 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.9686, allocations: 30.02 kB / 0.9453 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.9686, allocations: 10.91 kB / 0.9453 GB, free: 14.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001382/0.9688, allocations: 142.7 kB / 0.9454 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9689, allocations: 21.84 kB / 0.9455 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.9695, allocations: 274.4 kB / 0.9457 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.9696, allocations: 8.75 kB / 0.9457 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9696, allocations: 1.797 kB / 0.9457 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9696, allocations: 0.5625 kB / 0.9457 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.9705, allocations: 0.583 MB / 0.9463 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.9705, allocations: 6.219 kB / 0.9463 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.9707, allocations: 36.61 kB / 0.9463 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.9707, allocations: 1.688 kB / 0.9463 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.9708, allocations: 6.219 kB / 0.9463 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9708, allocations: 1.125 kB / 0.9464 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9708, allocations: 1.125 kB / 0.9464 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.9714, allocations: 357.4 kB / 0.9467 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.9715, allocations: 116 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.9716, allocations: 5.203 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.9718, allocations: 7.562 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.9719, allocations: 14.39 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.9719, allocations: 11.06 kB / 0.9468 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001457/0.9721, allocations: 158.9 kB / 0.947 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9721, allocations: 0 / 0.947 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006225/0.9727, allocations: 111 kB / 0.9471 GB, free: 14.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001157/0.9739, allocations: 0.9938 MB / 0.9481 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.9743, allocations: 210.5 kB / 0.9483 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9743, allocations: 1.25 kB / 0.9483 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9744, allocations: 103.7 kB / 0.9484 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.975, allocations: 96.3 kB / 0.9485 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.9779, allocations: 2.477 MB / 0.9509 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.9783, allocations: 0.7399 MB / 0.9516 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.9785, allocations: 61.47 kB / 0.9517 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.9786, allocations: 58.92 kB / 0.9517 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.9787, allocations: 0 / 0.9517 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/1.006, allocations: 7.581 MB / 0.9591 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/9.3, allocations: 12.58 kB / 0.9591 GB, free: 10.23 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)