Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.005184/0.005184, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.00118/0.00118, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.348/1.348, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.00119/0.00119, allocations: 50.69 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09218, allocations: 46.63 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3705/0.4627, allocations: 150.6 MB / 0.5115 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.4639, allocations: 0.9828 MB / 0.5124 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.464, allocations: 0 / 0.5124 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.4642, allocations: 28.3 kB / 0.5125 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.4648, allocations: 250.1 kB / 0.5127 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4652, allocations: 116.3 kB / 0.5128 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.4654, allocations: 174.6 kB / 0.513 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.4655, allocations: 5.062 kB / 0.513 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.4657, allocations: 85.69 kB / 0.5131 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.4658, allocations: 49.92 kB / 0.5131 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4658, allocations: 4.812 kB / 0.5131 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.4663, allocations: 261.7 kB / 0.5134 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.4663, allocations: 27.81 kB / 0.5134 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4664, allocations: 44.92 kB / 0.5134 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.4668, allocations: 280.5 kB / 0.5137 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4668, allocations: 0 / 0.5137 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4668, allocations: 0 / 0.5137 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.4668, allocations: 0 / 0.5137 GB, free: 4.086 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004726/0.4673, allocations: 410.9 kB / 0.5141 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4673, allocations: 7.844 kB / 0.5141 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.4694, allocations: 192.5 kB / 0.5143 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.4697, allocations: 210.3 kB / 0.5145 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4697, allocations: 6.594 kB / 0.5145 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.4698, allocations: 21.11 kB / 0.5145 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.4703, allocations: 218.7 kB / 0.5147 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4703, allocations: 0 / 0.5147 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.4704, allocations: 10.88 kB / 0.5147 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4704, allocations: 0 / 0.5147 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.4708, allocations: 166.4 kB / 0.5149 GB, free: 3.082 MB / 398.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.001009/0.4718, allocations: 0.5861 MB / 0.5155 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.4722, allocations: 133.6 kB / 0.5156 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4723, allocations: 69.36 kB / 0.5157 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4724, allocations: 2.719 kB / 0.5157 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4724, allocations: 40.67 kB / 0.5157 GB, free: 2.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.4724, allocations: 0 / 0.5157 GB, free: 2.348 MB / 398.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.005165/0.4776, allocations: 1.295 MB / 0.517 GB, free: 1.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.4776, allocations: 61.08 kB / 0.517 GB, free: 1.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.4777, allocations: 113.5 kB / 0.5171 GB, free: 1.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4777, allocations: 32.45 kB / 0.5172 GB, free: 1.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.4778, allocations: 94.3 kB / 0.5172 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.4778, allocations: 66.28 kB / 0.5173 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.4779, allocations: 48.42 kB / 0.5174 GB, free: 1.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.4781, allocations: 325.6 kB / 0.5177 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.4782, allocations: 73.48 kB / 0.5177 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4784, allocations: 102 kB / 0.5178 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.4787, allocations: 190.5 kB / 0.518 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4788, allocations: 0 / 0.518 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004739/0.4792, allocations: 259.7 kB / 0.5183 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4793, allocations: 7.625 kB / 0.5183 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4793, allocations: 3.938 kB / 0.5183 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.4795, allocations: 52.8 kB / 0.5183 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.4798, allocations: 56.25 kB / 0.5184 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003913/0.4802, allocations: 0.5693 MB / 0.5189 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4804, allocations: 6.781 kB / 0.5189 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.4804, allocations: 26.27 kB / 0.519 GB, free: 15.79 MB / 414.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.0001096/0.4805, allocations: 127.1 kB / 0.5191 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.4806, allocations: 8.938 kB / 0.5191 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.4813, allocations: 353 kB / 0.5194 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4813, allocations: 6.375 kB / 0.5194 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4813, allocations: 0 / 0.5194 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4813, allocations: 0 / 0.5194 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.4823, allocations: 0.6287 MB / 0.52 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4823, allocations: 2.25 kB / 0.5201 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4827, allocations: 65.64 kB / 0.5201 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.724e-05/0.4827, allocations: 20.31 kB / 0.5201 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.4828, allocations: 7.344 kB / 0.5201 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008581/0.4836, allocations: 1.371 MB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4836, allocations: 0 / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.4843, allocations: 436.9 kB / 0.5219 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.4844, allocations: 95.75 kB / 0.522 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4844, allocations: 7.344 kB / 0.522 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.4846, allocations: 4.375 kB / 0.522 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.4847, allocations: 24.62 kB / 0.522 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.4847, allocations: 30.61 kB / 0.5221 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.4848, allocations: 81.06 kB / 0.5221 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4848, allocations: 0 / 0.5221 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.4852, allocations: 83.23 kB / 0.5222 GB, free: 12.92 MB / 414.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.0003318/0.4855, allocations: 146.4 kB / 0.5223 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.486, allocations: 210.4 kB / 0.5225 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.486, allocations: 0 / 0.5225 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.4863, allocations: 225.2 kB / 0.5228 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4868, allocations: 43.91 kB / 0.5228 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.4875, allocations: 482.8 kB / 0.5233 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.4878, allocations: 0.714 MB / 0.524 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000289/0.4881, allocations: 73.52 kB / 0.524 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4883, allocations: 47.81 kB / 0.5241 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4883, allocations: 4 kB / 0.5241 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.008863/0.4971, allocations: 5.675 MB / 0.5296 GB, free: 6.012 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)