Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007551/0.007551, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001508/0.001508, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.352/1.352, allocations: 205.1 MB / 222.5 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.001254/0.001254, allocations: 51.92 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09005, allocations: 46.61 MB / 373.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3631/0.4532, allocations: 150.6 MB / 0.5115 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4544, allocations: 0.9638 MB / 0.5124 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.4545, allocations: 0 / 0.5124 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.4547, allocations: 39.75 kB / 0.5124 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.4553, allocations: 242.7 kB / 0.5127 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.4557, allocations: 120.3 kB / 0.5128 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.4559, allocations: 167.3 kB / 0.513 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.4559, allocations: 4 kB / 0.513 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.4561, allocations: 91.56 kB / 0.513 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.4562, allocations: 47.83 kB / 0.5131 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4562, allocations: 9.781 kB / 0.5131 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.4567, allocations: 271.7 kB / 0.5134 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.4568, allocations: 15.92 kB / 0.5134 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.4569, allocations: 51.78 kB / 0.5134 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.4573, allocations: 280.6 kB / 0.5137 GB, free: 6.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4573, allocations: 3.984 kB / 0.5137 GB, free: 6.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4573, allocations: 0 / 0.5137 GB, free: 6.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.4573, allocations: 0 / 0.5137 GB, free: 6.301 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.0004943/0.4578, allocations: 407.9 kB / 0.5141 GB, free: 5.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.4578, allocations: 12.03 kB / 0.5141 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.46, allocations: 184.6 kB / 0.5143 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.4603, allocations: 208.4 kB / 0.5145 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4604, allocations: 3.938 kB / 0.5145 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.4604, allocations: 15.91 kB / 0.5145 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.461, allocations: 224 kB / 0.5147 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.461, allocations: 0 / 0.5147 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.461, allocations: 8 kB / 0.5147 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.461, allocations: 0 / 0.5147 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.4615, allocations: 171.8 kB / 0.5149 GB, free: 4.992 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.001161/0.4627, allocations: 0.5879 MB / 0.5154 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.463, allocations: 142.4 kB / 0.5156 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.4632, allocations: 68.83 kB / 0.5157 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4633, allocations: 7.938 kB / 0.5157 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4633, allocations: 38.56 kB / 0.5157 GB, free: 4.074 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4633, allocations: 0 / 0.5157 GB, free: 4.074 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.005647/0.4689, allocations: 1.302 MB / 0.517 GB, free: 2.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.469, allocations: 55.41 kB / 0.517 GB, free: 2.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.4691, allocations: 109.8 kB / 0.5171 GB, free: 2.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.4691, allocations: 33.7 kB / 0.5172 GB, free: 2.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.4692, allocations: 91.98 kB / 0.5172 GB, free: 2.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.4693, allocations: 67 kB / 0.5173 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.4694, allocations: 53.69 kB / 0.5174 GB, free: 2.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4695, allocations: 318.8 kB / 0.5177 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.4697, allocations: 75.95 kB / 0.5177 GB, free: 1.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.4699, allocations: 111.2 kB / 0.5178 GB, free: 1.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.4703, allocations: 179.3 kB / 0.518 GB, free: 1.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4703, allocations: 4 kB / 0.518 GB, free: 1.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005154/0.4708, allocations: 258.2 kB / 0.5183 GB, free: 1.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4708, allocations: 4 kB / 0.5183 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4708, allocations: 4 kB / 0.5183 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.4711, allocations: 48.83 kB / 0.5183 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.4714, allocations: 59.89 kB / 0.5184 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004266/0.4719, allocations: 0.5641 MB / 0.5189 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4721, allocations: 12.02 kB / 0.5189 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.4721, allocations: 20 kB / 0.519 GB, free: 0.5352 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.0001375/0.4723, allocations: 129.7 kB / 0.5191 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.4723, allocations: 7.906 kB / 0.5191 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.4731, allocations: 348.7 kB / 0.5194 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4731, allocations: 7.938 kB / 0.5194 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4731, allocations: 0 / 0.5194 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4731, allocations: 0 / 0.5194 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.4742, allocations: 0.6353 MB / 0.52 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4742, allocations: 3.938 kB / 0.5201 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.4746, allocations: 58.27 kB / 0.5201 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.119e-05/0.4747, allocations: 20.84 kB / 0.5201 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4747, allocations: 23.86 kB / 0.5201 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.4757, allocations: 1.363 MB / 0.5215 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4757, allocations: 3.938 kB / 0.5215 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.4764, allocations: 430.7 kB / 0.5219 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4765, allocations: 88.98 kB / 0.522 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4765, allocations: 8 kB / 0.522 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4768, allocations: 8.062 kB / 0.522 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.4768, allocations: 27.91 kB / 0.522 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.4769, allocations: 32.86 kB / 0.5221 GB, free: 13.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.4769, allocations: 83.27 kB / 0.5221 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4769, allocations: 0 / 0.5221 GB, free: 13.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.4774, allocations: 80 kB / 0.5222 GB, free: 12.93 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.0004081/0.4778, allocations: 144.6 kB / 0.5223 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.4783, allocations: 212.5 kB / 0.5225 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4784, allocations: 0 / 0.5225 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.4787, allocations: 218.6 kB / 0.5228 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.4792, allocations: 49.47 kB / 0.5228 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.4801, allocations: 475.9 kB / 0.5233 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.4804, allocations: 0.7046 MB / 0.5239 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.4807, allocations: 81.38 kB / 0.524 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4809, allocations: 47.41 kB / 0.5241 GB, free: 10.95 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4809, allocations: 0 / 0.5241 GB, free: 10.95 MB / 462.1 MB Notification: Performance of Templates: time 0.00947/0.4903, allocations: 5.632 MB / 0.5296 GB, free: 5.316 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)