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: translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 112.8 kB / 16.38 MB, free: 6.004 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.001085/0.001085, allocations: 188.2 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7945/0.7945, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 71.03 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4915/0.6292, allocations: 149.1 MB / 0.8059 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.6326, allocations: 3.608 MB / 0.8094 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.6327, allocations: 2.062 kB / 0.8094 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.6331, allocations: 66.86 kB / 0.8095 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.6334, allocations: 127.7 kB / 0.8096 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.6355, allocations: 1.013 MB / 0.8106 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.6358, allocations: 318.8 kB / 0.8109 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.6359, allocations: 24.55 kB / 0.811 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.6362, allocations: 192.2 kB / 0.8111 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.6364, allocations: 128.3 kB / 0.8113 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.6364, allocations: 10.62 kB / 0.8113 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.6381, allocations: 1.217 MB / 0.8125 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.6382, allocations: 70.84 kB / 0.8125 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.6383, allocations: 107.5 kB / 0.8126 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.6393, allocations: 0.6436 MB / 0.8133 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6393, allocations: 0 / 0.8133 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6393, allocations: 5.219 kB / 0.8133 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.6393, allocations: 0 / 0.8133 GB, free: 10.93 MB / 0.5919 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.001049/0.6404, allocations: 0.5779 MB / 0.8138 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.6404, allocations: 9.438 kB / 0.8138 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.6416, allocations: 142.5 kB / 0.814 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.6418, allocations: 217.1 kB / 0.8142 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6419, allocations: 22.41 kB / 0.8142 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.6419, allocations: 15.56 kB / 0.8142 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.6424, allocations: 340.6 kB / 0.8145 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6424, allocations: 2.25 kB / 0.8145 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6425, allocations: 8.812 kB / 0.8145 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.6425, allocations: 12.75 kB / 0.8146 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.643, allocations: 324.5 kB / 0.8149 GB, free: 9.957 MB / 0.5919 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.001467/0.6444, allocations: 1.116 MB / 0.816 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.6449, allocations: 195 kB / 0.8161 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.645, allocations: 82.78 kB / 0.8162 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/0.6455, allocations: 465.6 kB / 0.8167 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.6456, allocations: 32.66 kB / 0.8167 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.6456, allocations: 0 / 0.8167 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006102/0.6462, allocations: 259 kB / 0.8169 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.6462, allocations: 53.81 kB / 0.817 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.6464, allocations: 210.8 kB / 0.8172 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.6465, allocations: 31.14 kB / 0.8172 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.6465, allocations: 147.5 kB / 0.8174 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.6466, allocations: 71.48 kB / 0.8174 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.6467, allocations: 54.55 kB / 0.8175 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6468, allocations: 330.9 kB / 0.8178 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6469, allocations: 68.92 kB / 0.8179 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.6471, allocations: 166.1 kB / 0.818 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.6474, allocations: 244.7 kB / 0.8183 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6474, allocations: 0 / 0.8183 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004735/0.6479, allocations: 289.4 kB / 0.8185 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6479, allocations: 8.344 kB / 0.8185 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.6479, allocations: 6.125 kB / 0.8186 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6479, allocations: 4.312 kB / 0.8186 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.6482, allocations: 60.78 kB / 0.8186 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6482, allocations: 8.75 kB / 0.8186 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.6484, allocations: 32.66 kB / 0.8187 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.6484, allocations: 14.36 kB / 0.8187 GB, free: 7.199 MB / 0.5919 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.0001178/0.6486, allocations: 141.8 kB / 0.8188 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.6487, allocations: 18.59 kB / 0.8188 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.6491, allocations: 278.8 kB / 0.8191 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.6491, allocations: 5.688 kB / 0.8191 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6492, allocations: 6.922 kB / 0.8191 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6492, allocations: 0 / 0.8191 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.6498, allocations: 0.5764 MB / 0.8197 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6498, allocations: 3.938 kB / 0.8197 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.65, allocations: 35.33 kB / 0.8197 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.65, allocations: 4.062 kB / 0.8197 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6501, allocations: 17.59 kB / 0.8197 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.6501, allocations: 2.906 kB / 0.8197 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6501, allocations: 0 / 0.8197 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.6505, allocations: 338 kB / 0.82 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6507, allocations: 132.2 kB / 0.8202 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.6507, allocations: 5.406 kB / 0.8202 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.6509, allocations: 13.02 kB / 0.8202 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.651, allocations: 11.73 kB / 0.8202 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.651, allocations: 11.22 kB / 0.8202 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001109/0.6511, allocations: 152.9 kB / 0.8204 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6511, allocations: 3.938 kB / 0.8204 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004764/0.6516, allocations: 112.2 kB / 0.8205 GB, free: 6.129 MB / 0.5919 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.000381/0.652, allocations: 222 kB / 0.8207 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.6523, allocations: 206.7 kB / 0.8209 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6524, allocations: 6.625 kB / 0.8209 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.6525, allocations: 106.1 kB / 0.821 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.6531, allocations: 98.56 kB / 0.8211 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.6538, allocations: 489.5 kB / 0.8215 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.6541, allocations: 0.7352 MB / 0.8223 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.6542, allocations: 29.41 kB / 0.8223 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.6542, allocations: 3.938 kB / 0.8223 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of Templates: time 0.00585/0.66, allocations: 4.351 MB / 0.8265 GB, free: 2.648 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirProperties.makefile (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 & ./IDEAS_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)