Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008982, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001172/0.001172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3026/0.3026, allocations: 38.03 MB / 308.4 MB, free: 10.44 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005672, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3257/0.4371, allocations: 136.6 MB / 0.5572 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4382, allocations: 0.9108 MB / 0.5581 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.4383, allocations: 1.375 kB / 0.5581 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.4385, allocations: 17.56 kB / 0.5581 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.439, allocations: 210.3 kB / 0.5583 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.4393, allocations: 89.66 kB / 0.5584 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.4395, allocations: 183.2 kB / 0.5585 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.4396, allocations: 9.625 kB / 0.5585 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.4398, allocations: 83.56 kB / 0.5586 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.819e-05/0.4399, allocations: 58.27 kB / 0.5587 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.4399, allocations: 1.781 kB / 0.5587 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.4404, allocations: 268.1 kB / 0.5589 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.4404, allocations: 17.89 kB / 0.5589 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.4405, allocations: 43.05 kB / 0.559 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4407, allocations: 199.5 kB / 0.5592 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4408, allocations: 6.156 kB / 0.5592 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4408, allocations: 0 / 0.5592 GB, free: 11.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.4408, allocations: 0 / 0.5592 GB, free: 11.7 MB / 430.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.0004249/0.4412, allocations: 379.3 kB / 0.5595 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4412, allocations: 10.47 kB / 0.5596 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.4429, allocations: 192.5 kB / 0.5597 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4432, allocations: 216.7 kB / 0.5599 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4432, allocations: 3.156 kB / 0.56 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.4433, allocations: 9.094 kB / 0.56 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.4437, allocations: 218.8 kB / 0.5602 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4438, allocations: 3.375 kB / 0.5602 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.4438, allocations: 7.953 kB / 0.5602 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4438, allocations: 10.91 kB / 0.5602 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.4442, allocations: 164.2 kB / 0.5603 GB, free: 10.89 MB / 430.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.0009433/0.4452, allocations: 0.5772 MB / 0.5609 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4455, allocations: 138 kB / 0.561 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4456, allocations: 70.09 kB / 0.5611 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4456, allocations: 3.25 kB / 0.5611 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4457, allocations: 34.56 kB / 0.5611 GB, free: 10.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4457, allocations: 3.938 kB / 0.5611 GB, free: 10.23 MB / 430.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.004309/0.45, allocations: 1.305 MB / 0.5624 GB, free: 9.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.45, allocations: 51.41 kB / 0.5625 GB, free: 9.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.4501, allocations: 109.9 kB / 0.5626 GB, free: 9.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4501, allocations: 33.64 kB / 0.5626 GB, free: 9.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.4502, allocations: 106.7 kB / 0.5627 GB, free: 9.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.4503, allocations: 65.66 kB / 0.5628 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.4503, allocations: 7.031 kB / 0.5628 GB, free: 9.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.4504, allocations: 325.3 kB / 0.5631 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4505, allocations: 62.53 kB / 0.5632 GB, free: 8.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4507, allocations: 102.9 kB / 0.5632 GB, free: 8.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4508, allocations: 80.95 kB / 0.5633 GB, free: 8.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4508, allocations: 0 / 0.5633 GB, free: 8.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004024/0.4512, allocations: 255.7 kB / 0.5636 GB, free: 8.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4513, allocations: 5.188 kB / 0.5636 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4513, allocations: 0 / 0.5636 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.4514, allocations: 59.67 kB / 0.5636 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4517, allocations: 49.22 kB / 0.5637 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003434/0.4521, allocations: 0.5673 MB / 0.5642 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.4522, allocations: 9.188 kB / 0.5642 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.4523, allocations: 29.55 kB / 0.5643 GB, free: 7.855 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.4524, allocations: 133.2 kB / 0.5644 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.4524, allocations: 7.281 kB / 0.5644 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.4531, allocations: 352.1 kB / 0.5647 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4532, allocations: 2.438 kB / 0.5647 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4532, allocations: 0 / 0.5647 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4532, allocations: 3.344 kB / 0.5647 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008358/0.454, allocations: 0.6255 MB / 0.5654 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.454, allocations: 0 / 0.5654 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.4543, allocations: 62.98 kB / 0.5654 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.4544, allocations: 23.78 kB / 0.5654 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4544, allocations: 15.88 kB / 0.5655 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000761/0.4552, allocations: 1.274 MB / 0.5667 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4552, allocations: 3.375 kB / 0.5667 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.4558, allocations: 431.5 kB / 0.5671 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.4559, allocations: 89.17 kB / 0.5672 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.4559, allocations: 11.98 kB / 0.5672 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4561, allocations: 4 kB / 0.5672 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.4561, allocations: 27.92 kB / 0.5672 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.4562, allocations: 27.98 kB / 0.5673 GB, free: 5.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.4562, allocations: 83.28 kB / 0.5673 GB, free: 4.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4562, allocations: 0 / 0.5673 GB, free: 4.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.4566, allocations: 83.98 kB / 0.5674 GB, free: 4.902 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003012/0.4569, allocations: 151 kB / 0.5676 GB, free: 4.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4574, allocations: 207.1 kB / 0.5678 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4574, allocations: 0 / 0.5678 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.4577, allocations: 223 kB / 0.568 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.4581, allocations: 53.92 kB / 0.568 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.4589, allocations: 0.572 MB / 0.5686 GB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4591, allocations: 0.7049 MB / 0.5693 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.4595, allocations: 78.27 kB / 0.5694 GB, free: 2.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.4597, allocations: 55.41 kB / 0.5694 GB, free: 2.809 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4597, allocations: 0 / 0.5694 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Templates: time 0.008255/0.468, allocations: 5.386 MB / 0.5747 GB, free: 13.43 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: