Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_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.004803/0.004804, allocations: 102.2 kB / 15.73 MB, free: 6.449 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.001173/0.001173, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3864, allocations: 80.21 MB / 0.6592 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1578/0.5442, allocations: 149.1 MB / 0.8048 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.5482, allocations: 3.624 MB / 0.8084 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.5483, allocations: 0 / 0.8084 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.5487, allocations: 71.62 kB / 0.8084 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.5491, allocations: 135.2 kB / 0.8086 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.5514, allocations: 1.039 MB / 0.8096 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.5518, allocations: 315.7 kB / 0.8099 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.5519, allocations: 13.55 kB / 0.8099 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.5522, allocations: 199.1 kB / 0.8101 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.5524, allocations: 135.5 kB / 0.8102 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.5524, allocations: 11.94 kB / 0.8102 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5542, allocations: 1.224 MB / 0.8114 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.5543, allocations: 67.84 kB / 0.8115 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5544, allocations: 107.5 kB / 0.8116 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.5554, allocations: 0.6384 MB / 0.8122 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5555, allocations: 0 / 0.8122 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5555, allocations: 3.938 kB / 0.8122 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.5555, allocations: 0 / 0.8122 GB, free: 8.93 MB / 0.6387 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.0011/0.5566, allocations: 0.5957 MB / 0.8128 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5566, allocations: 12.03 kB / 0.8128 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.5567, allocations: 62.72 kB / 0.8129 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5579, allocations: 132.7 kB / 0.813 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.5581, allocations: 215.9 kB / 0.8132 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5582, allocations: 20.36 kB / 0.8132 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.5582, allocations: 16 kB / 0.8132 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.5587, allocations: 347.3 kB / 0.8136 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5587, allocations: 0 / 0.8136 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.5588, allocations: 8 kB / 0.8136 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.5588, allocations: 15.98 kB / 0.8136 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.5593, allocations: 316.1 kB / 0.8139 GB, free: 7.098 MB / 0.6387 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.001613/0.5609, allocations: 1.121 MB / 0.815 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.5614, allocations: 186.5 kB / 0.8152 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.5616, allocations: 88.73 kB / 0.8152 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.5621, allocations: 461.5 kB / 0.8157 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5622, allocations: 34.56 kB / 0.8157 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.5622, allocations: 0 / 0.8157 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006729/0.5629, allocations: 258.8 kB / 0.816 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.5629, allocations: 59.39 kB / 0.816 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5631, allocations: 208.2 kB / 0.8162 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5632, allocations: 29.7 kB / 0.8162 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.5633, allocations: 152.4 kB / 0.8164 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.5633, allocations: 75.27 kB / 0.8165 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.5634, allocations: 57.64 kB / 0.8165 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5635, allocations: 326.8 kB / 0.8168 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.5637, allocations: 76.22 kB / 0.8169 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5638, allocations: 156.8 kB / 0.817 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.5641, allocations: 250 kB / 0.8173 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5641, allocations: 7.938 kB / 0.8173 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004818/0.5646, allocations: 277.2 kB / 0.8176 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5647, allocations: 8 kB / 0.8176 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5647, allocations: 0 / 0.8176 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5647, allocations: 7.938 kB / 0.8176 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.565, allocations: 68.28 kB / 0.8176 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.565, allocations: 7.938 kB / 0.8176 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.5652, allocations: 31.73 kB / 0.8177 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.5652, allocations: 15.98 kB / 0.8177 GB, free: 2.855 MB / 0.6387 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.0001177/0.5654, allocations: 142.4 kB / 0.8178 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.5655, allocations: 23.89 kB / 0.8179 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.566, allocations: 280.1 kB / 0.8181 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.566, allocations: 4 kB / 0.8181 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.566, allocations: 4 kB / 0.8181 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.566, allocations: 0 / 0.8181 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.5667, allocations: 0.5818 MB / 0.8187 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5667, allocations: 0 / 0.8187 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.5669, allocations: 35.98 kB / 0.8187 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5669, allocations: 7.938 kB / 0.8187 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5669, allocations: 0 / 0.8187 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5669, allocations: 0 / 0.8187 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.567, allocations: 8.062 kB / 0.8187 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5675, allocations: 359.6 kB / 0.8191 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5676, allocations: 124.9 kB / 0.8192 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.5677, allocations: 0 / 0.8192 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5679, allocations: 23.92 kB / 0.8192 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.568, allocations: 11.98 kB / 0.8192 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.568, allocations: 15.98 kB / 0.8193 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001185/0.5681, allocations: 152.3 kB / 0.8194 GB, free: 1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.5681, allocations: 0 / 0.8194 GB, free: 1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004729/0.5686, allocations: 115.8 kB / 0.8195 GB, free: 0.8867 MB / 0.6387 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.001031/0.5696, allocations: 0.9869 MB / 0.8205 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.57, allocations: 211.5 kB / 0.8207 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.57, allocations: 4 kB / 0.8207 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.5702, allocations: 99.88 kB / 0.8208 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.5708, allocations: 96 kB / 0.8209 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.5735, allocations: 2.503 MB / 0.8233 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5737, allocations: 0.7445 MB / 0.824 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.574, allocations: 54.25 kB / 0.8241 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5741, allocations: 55.42 kB / 0.8241 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.5741, allocations: 0 / 0.8241 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.5989, allocations: 7.726 MB / 0.8317 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.425, allocations: 12.64 kB / 0.8317 GB, free: 4.348 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)