Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001168/0.001168, allocations: 191 kB / 18 MB, free: 5.105 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001137/0.001137, allocations: 47.94 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08384, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3498/0.4336, allocations: 150.6 MB / 0.5128 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.435, allocations: 0.9736 MB / 0.5137 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.435, allocations: 0 / 0.5137 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.4354, allocations: 29.83 kB / 0.5137 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006095/0.436, allocations: 242.7 kB / 0.514 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.4364, allocations: 128.2 kB / 0.5141 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.4366, allocations: 163.3 kB / 0.5142 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.4366, allocations: 4 kB / 0.5143 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.4368, allocations: 91.62 kB / 0.5143 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.4369, allocations: 51.77 kB / 0.5144 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.437, allocations: 4 kB / 0.5144 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.4375, allocations: 271.7 kB / 0.5147 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.4376, allocations: 19.97 kB / 0.5147 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.4376, allocations: 43.8 kB / 0.5147 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.4381, allocations: 284.6 kB / 0.515 GB, free: 6.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4381, allocations: 3.938 kB / 0.515 GB, free: 6.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4381, allocations: 3.984 kB / 0.515 GB, free: 6.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.4381, allocations: 0 / 0.515 GB, free: 6.324 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005535/0.4387, allocations: 403.9 kB / 0.5154 GB, free: 5.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4387, allocations: 8.031 kB / 0.5154 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.4409, allocations: 196.6 kB / 0.5156 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4413, allocations: 200.5 kB / 0.5158 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4413, allocations: 7.938 kB / 0.5158 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.4414, allocations: 11.91 kB / 0.5158 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.4419, allocations: 231.9 kB / 0.516 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4419, allocations: 7.938 kB / 0.516 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.442, allocations: 4 kB / 0.516 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.442, allocations: 4 kB / 0.516 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.4425, allocations: 167.8 kB / 0.5162 GB, free: 5.008 MB / 446.1 MB 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.001026/0.4435, allocations: 0.5801 MB / 0.5167 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.4439, allocations: 138.5 kB / 0.5169 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.444, allocations: 68.81 kB / 0.5169 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.4441, allocations: 4 kB / 0.5169 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4441, allocations: 38.56 kB / 0.517 GB, free: 4.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4441, allocations: 0 / 0.517 GB, free: 4.105 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005633/0.4498, allocations: 1.304 MB / 0.5183 GB, free: 2.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.4498, allocations: 51.41 kB / 0.5183 GB, free: 2.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.4499, allocations: 113.8 kB / 0.5184 GB, free: 2.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.45, allocations: 29.7 kB / 0.5184 GB, free: 2.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.45, allocations: 95.98 kB / 0.5185 GB, free: 2.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.4501, allocations: 67 kB / 0.5186 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.4502, allocations: 53.69 kB / 0.5187 GB, free: 2.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4504, allocations: 314.8 kB / 0.519 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.4505, allocations: 71.95 kB / 0.519 GB, free: 1.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4507, allocations: 107.2 kB / 0.5191 GB, free: 1.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4511, allocations: 183.3 kB / 0.5193 GB, free: 1.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4511, allocations: 0 / 0.5193 GB, free: 1.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005382/0.4516, allocations: 266.1 kB / 0.5196 GB, free: 1.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4517, allocations: 8 kB / 0.5196 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4517, allocations: 5.547 kB / 0.5196 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.4519, allocations: 48.83 kB / 0.5196 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.4522, allocations: 55.91 kB / 0.5197 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.4526, allocations: 0.5719 MB / 0.5202 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4528, allocations: 7.984 kB / 0.5202 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.4528, allocations: 24 kB / 0.5203 GB, free: 0.5586 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.453, allocations: 125.7 kB / 0.5204 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.453, allocations: 7.906 kB / 0.5204 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000724/0.4537, allocations: 345 kB / 0.5207 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4538, allocations: 3.938 kB / 0.5207 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4538, allocations: 4 kB / 0.5207 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4538, allocations: 3.938 kB / 0.5207 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4548, allocations: 0.6275 MB / 0.5213 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4548, allocations: 0 / 0.5213 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.4552, allocations: 69.95 kB / 0.5214 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.4553, allocations: 20.84 kB / 0.5214 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4553, allocations: 11.98 kB / 0.5214 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009012/0.4562, allocations: 1.367 MB / 0.5228 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4562, allocations: 4.25 kB / 0.5228 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.4569, allocations: 438.7 kB / 0.5232 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.457, allocations: 88.95 kB / 0.5233 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.457, allocations: 4 kB / 0.5233 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4572, allocations: 4.875 kB / 0.5233 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.4573, allocations: 28.03 kB / 0.5233 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.4574, allocations: 27.98 kB / 0.5233 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.4574, allocations: 95.25 kB / 0.5234 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4574, allocations: 0 / 0.5234 GB, free: 13.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.4579, allocations: 76 kB / 0.5235 GB, free: 12.96 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003739/0.4582, allocations: 147.1 kB / 0.5236 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005277/0.4588, allocations: 204.3 kB / 0.5238 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4588, allocations: 192 / 0.5238 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.4591, allocations: 226.6 kB / 0.524 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4596, allocations: 37.84 kB / 0.5241 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.4605, allocations: 488.8 kB / 0.5246 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4608, allocations: 0.7046 MB / 0.5252 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.4611, allocations: 77.62 kB / 0.5253 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4613, allocations: 55.34 kB / 0.5254 GB, free: 10.97 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4613, allocations: 0 / 0.5254 GB, free: 10.97 MB / 462.1 MB Notification: Performance of Templates: time 0.009732/0.471, allocations: 5.632 MB / 0.5309 GB, free: 5.34 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)