Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.001504/0.001504, 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.001514/0.001514, allocations: 193 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 291 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 95.08 kB / 0.6065 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.144, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4004/0.5445, allocations: 149.1 MB / 0.8392 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004053/0.5485, allocations: 3.613 MB / 0.8427 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.5487, allocations: 0 / 0.8427 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.549, allocations: 69.69 kB / 0.8428 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.5493, allocations: 135.4 kB / 0.8429 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5515, allocations: 1.009 MB / 0.8439 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.5518, allocations: 310.4 kB / 0.8442 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.5519, allocations: 18.44 kB / 0.8442 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.5522, allocations: 198.1 kB / 0.8444 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.5524, allocations: 131.9 kB / 0.8445 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.5524, allocations: 11 kB / 0.8445 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.5544, allocations: 1.217 MB / 0.8457 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.5545, allocations: 71.09 kB / 0.8458 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.5546, allocations: 109.6 kB / 0.8459 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.5555, allocations: 0.6371 MB / 0.8465 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5556, allocations: 0 / 0.8465 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5556, allocations: 0 / 0.8465 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5556, allocations: 0 / 0.8465 GB, free: 7.281 MB / 0.5762 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.001033/0.5566, allocations: 0.5828 MB / 0.8471 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.5567, allocations: 10.06 kB / 0.8471 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.5567, allocations: 60.77 kB / 0.8472 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.5579, allocations: 134.6 kB / 0.8473 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5581, allocations: 225.6 kB / 0.8475 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.5582, allocations: 20.31 kB / 0.8475 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5582, allocations: 16.34 kB / 0.8475 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.5587, allocations: 336.5 kB / 0.8479 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5587, allocations: 4.656 kB / 0.8479 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5588, allocations: 7.906 kB / 0.8479 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.5588, allocations: 14.64 kB / 0.8479 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.5593, allocations: 324.2 kB / 0.8482 GB, free: 6.016 MB / 0.5762 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.001524/0.5608, allocations: 1.114 MB / 0.8493 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.5613, allocations: 190.6 kB / 0.8495 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5614, allocations: 85.34 kB / 0.8495 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.562, allocations: 458.1 kB / 0.85 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.562, allocations: 37.11 kB / 0.85 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.562, allocations: 0 / 0.85 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0006252/0.5627, allocations: 260.8 kB / 0.8503 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.5627, allocations: 58.28 kB / 0.8503 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.563, allocations: 206.9 kB / 0.8505 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.563, allocations: 32.7 kB / 0.8505 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.5631, allocations: 140 kB / 0.8507 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.5632, allocations: 74.77 kB / 0.8507 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.5633, allocations: 58.42 kB / 0.8508 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5634, allocations: 327.9 kB / 0.8511 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5635, allocations: 74.66 kB / 0.8512 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.5637, allocations: 167.5 kB / 0.8513 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.564, allocations: 247.8 kB / 0.8516 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.564, allocations: 2.156 kB / 0.8516 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004812/0.5645, allocations: 285.2 kB / 0.8519 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5646, allocations: 10.44 kB / 0.8519 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5646, allocations: 2.5 kB / 0.8519 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5646, allocations: 9.469 kB / 0.8519 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.5648, allocations: 55.55 kB / 0.8519 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5649, allocations: 11.12 kB / 0.8519 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5651, allocations: 30.44 kB / 0.852 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.5651, allocations: 13.14 kB / 0.852 GB, free: 2.84 MB / 0.5762 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.0001365/0.5653, allocations: 135.3 kB / 0.8521 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5654, allocations: 31.39 kB / 0.8521 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.5659, allocations: 283.6 kB / 0.8524 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5659, allocations: 6.219 kB / 0.8524 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5659, allocations: 0.875 kB / 0.8524 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5659, allocations: 2.594 kB / 0.8524 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.5666, allocations: 0.5816 MB / 0.853 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5666, allocations: 6.469 kB / 0.853 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.5668, allocations: 37.3 kB / 0.853 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5668, allocations: 1.938 kB / 0.853 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5668, allocations: 3.594 kB / 0.853 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5668, allocations: 0 / 0.853 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5668, allocations: 2.812 kB / 0.853 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.5673, allocations: 352.6 kB / 0.8534 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5675, allocations: 120.3 kB / 0.8535 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.5675, allocations: 6.703 kB / 0.8535 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.5678, allocations: 11.44 kB / 0.8535 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.5678, allocations: 18.55 kB / 0.8535 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.5678, allocations: 14.08 kB / 0.8535 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001348/0.568, allocations: 153.4 kB / 0.8537 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.568, allocations: 7.938 kB / 0.8537 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004554/0.5684, allocations: 113.2 kB / 0.8538 GB, free: 1.512 MB / 0.5762 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.001051/0.5695, allocations: 0.991 MB / 0.8548 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.5699, allocations: 221.2 kB / 0.855 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5699, allocations: 0 / 0.855 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.57, allocations: 102.7 kB / 0.8551 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.5706, allocations: 99.55 kB / 0.8552 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5733, allocations: 2.496 MB / 0.8576 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5737, allocations: 0.7336 MB / 0.8583 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.574, allocations: 59.31 kB / 0.8584 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5741, allocations: 60.91 kB / 0.8584 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5741, allocations: 0 / 0.8584 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.6032, allocations: 7.686 MB / 0.8659 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/8.155, allocations: 7.141 kB / 0.866 GB, free: 9.871 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)