Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.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) 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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007279/0.007279, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001286/0.001286, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.584/1.584, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.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.001201/0.001201, allocations: 53.73 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4312/0.5414, allocations: 150.4 MB / 0.5113 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.5431, allocations: 1.518 MB / 0.5128 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.5431, allocations: 2.75 kB / 0.5128 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.5433, allocations: 28.75 kB / 0.5128 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007639/0.5441, allocations: 324.7 kB / 0.5131 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.5442, allocations: 59.45 kB / 0.5132 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.5443, allocations: 79.06 kB / 0.5133 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.5444, allocations: 5.906 kB / 0.5133 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.5445, allocations: 38.2 kB / 0.5133 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.5445, allocations: 32.06 kB / 0.5133 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.5446, allocations: 2.375 kB / 0.5133 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.5452, allocations: 356.2 kB / 0.5137 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.5452, allocations: 17.41 kB / 0.5137 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.5452, allocations: 26.53 kB / 0.5137 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.5457, allocations: 289.6 kB / 0.514 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5457, allocations: 0 / 0.514 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5457, allocations: 0 / 0.514 GB, free: 3.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.5457, allocations: 0 / 0.514 GB, free: 3.812 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008076/0.5465, allocations: 448 kB / 0.5144 GB, free: 3.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5465, allocations: 7.688 kB / 0.5144 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005987/0.5525, allocations: 458.5 kB / 0.5149 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5527, allocations: 170.5 kB / 0.515 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5527, allocations: 14.84 kB / 0.515 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.5528, allocations: 8.812 kB / 0.5151 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.5536, allocations: 294 kB / 0.5153 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5536, allocations: 0 / 0.5153 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.5536, allocations: 8.719 kB / 0.5153 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5537, allocations: 2.781 kB / 0.5153 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.5545, allocations: 279.2 kB / 0.5156 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009927/0.5555, allocations: 428.7 kB / 0.516 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.5565, allocations: 202.5 kB / 0.5162 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.5567, allocations: 69.72 kB / 0.5163 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.5567, allocations: 2.25 kB / 0.5163 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5568, allocations: 37.59 kB / 0.5163 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.5568, allocations: 0 / 0.5163 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001723/0.5585, allocations: 424.8 kB / 0.5167 GB, free: 1.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.5586, allocations: 61.81 kB / 0.5168 GB, free: 1.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.5587, allocations: 99.09 kB / 0.5169 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.5587, allocations: 29.7 kB / 0.5169 GB, free: 1.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5589, allocations: 95.17 kB / 0.517 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.5589, allocations: 63.02 kB / 0.5171 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.559, allocations: 44.66 kB / 0.5171 GB, free: 1.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5592, allocations: 321.1 kB / 0.5174 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.5594, allocations: 77.62 kB / 0.5175 GB, free: 1.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.5597, allocations: 113.9 kB / 0.5176 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.5603, allocations: 200.1 kB / 0.5178 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5603, allocations: 0 / 0.5178 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006684/0.561, allocations: 253.8 kB / 0.518 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.561, allocations: 5.781 kB / 0.518 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.561, allocations: 6.391 kB / 0.518 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.561, allocations: 3.531 kB / 0.518 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.5614, allocations: 47.22 kB / 0.5181 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.5614, allocations: 10.14 kB / 0.5181 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.5617, allocations: 15.73 kB / 0.5181 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.5617, allocations: 8 kB / 0.5181 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001133/0.5618, allocations: 126.7 kB / 0.5182 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.5619, allocations: 8.359 kB / 0.5182 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.5628, allocations: 287 kB / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5628, allocations: 2.906 kB / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5628, allocations: 0 / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5629, allocations: 0 / 0.5185 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5641, allocations: 0.5785 MB / 0.5191 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5641, allocations: 6.438 kB / 0.5191 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.5645, allocations: 46.11 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5645, allocations: 2.469 kB / 0.5191 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.5645, allocations: 6.562 kB / 0.5191 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5645, allocations: 5.797 kB / 0.5192 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5645, allocations: 0 / 0.5192 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.5652, allocations: 334.2 kB / 0.5195 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.5653, allocations: 86.94 kB / 0.5196 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.5653, allocations: 10.53 kB / 0.5196 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.5656, allocations: 11.83 kB / 0.5196 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.5656, allocations: 17.14 kB / 0.5196 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.5656, allocations: 14.11 kB / 0.5196 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.5657, allocations: 82 kB / 0.5197 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.636e-06/0.5657, allocations: 0 / 0.5197 GB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000353/0.5661, allocations: 43.16 kB / 0.5197 GB, free: 15.34 MB / 414.1 MB 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 (18): * Single equations (assignments): 18 * 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.00021/0.5663, allocations: 130.5 kB / 0.5198 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.5669, allocations: 193.3 kB / 0.52 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5669, allocations: 0 / 0.52 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.5672, allocations: 105.8 kB / 0.5201 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.5677, allocations: 39.36 kB / 0.5202 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.5685, allocations: 275.8 kB / 0.5204 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5688, allocations: 0.6874 MB / 0.5211 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.5691, allocations: 55.53 kB / 0.5212 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.5693, allocations: 40.84 kB / 0.5212 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5693, allocations: 0 / 0.5212 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Templates: time 0.006194/0.5755, allocations: 3.065 MB / 0.5242 GB, free: 11.74 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)