Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001609/0.001609, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001704/0.001704, allocations: 177.3 kB / 15.94 MB, free: 228 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2871/0.2871, allocations: 39.99 MB / 310.4 MB, free: 10 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.2. 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.0005275/0.0005276, allocations: 20 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1039, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3196/0.4235, allocations: 125.6 MB / 0.5492 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.4248, allocations: 0.8161 MB / 0.5499 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.4248, allocations: 0 / 0.5499 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.4251, allocations: 33.39 kB / 0.55 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006269/0.4258, allocations: 207.2 kB / 0.5502 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.4262, allocations: 93.02 kB / 0.5503 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.4264, allocations: 104.2 kB / 0.5504 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.4264, allocations: 10.23 kB / 0.5504 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.4267, allocations: 90.12 kB / 0.5505 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.4268, allocations: 43.28 kB / 0.5505 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.4268, allocations: 4.875 kB / 0.5505 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.4275, allocations: 284.4 kB / 0.5508 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.4276, allocations: 13.48 kB / 0.5508 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.4277, allocations: 39.11 kB / 0.5508 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.4281, allocations: 201.9 kB / 0.551 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.4281, allocations: 0 / 0.551 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4281, allocations: 7.25 kB / 0.551 GB, free: 1.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4281, allocations: 0 / 0.551 GB, free: 1.617 MB / 414.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.0005335/0.4286, allocations: 385.6 kB / 0.5514 GB, free: 1.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4287, allocations: 8.938 kB / 0.5514 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.4308, allocations: 185.8 kB / 0.5516 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4311, allocations: 208.7 kB / 0.5518 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4312, allocations: 6.906 kB / 0.5518 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4312, allocations: 9.438 kB / 0.5518 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.4317, allocations: 219 kB / 0.552 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4318, allocations: 0.5625 kB / 0.552 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.4318, allocations: 2.406 kB / 0.552 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4318, allocations: 2.656 kB / 0.552 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.4322, allocations: 175.7 kB / 0.5522 GB, free: 0.8164 MB / 414.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.001084/0.4333, allocations: 0.5728 MB / 0.5527 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4337, allocations: 154.6 kB / 0.5529 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.4337, allocations: 0.6562 kB / 0.5529 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4338, allocations: 38.28 kB / 0.5529 GB, free: 188 kB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.4338, allocations: 0 / 0.5529 GB, free: 188 kB / 414.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.005448/0.4392, allocations: 1.301 MB / 0.5542 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4393, allocations: 54.12 kB / 0.5542 GB, free: 15.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.4394, allocations: 107.2 kB / 0.5543 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.4394, allocations: 29.7 kB / 0.5544 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.4395, allocations: 104.9 kB / 0.5545 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.4396, allocations: 61.44 kB / 0.5545 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.4396, allocations: 4 kB / 0.5545 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4398, allocations: 329.8 kB / 0.5549 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4399, allocations: 67.72 kB / 0.5549 GB, free: 14.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4401, allocations: 105.4 kB / 0.555 GB, free: 14.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4402, allocations: 75.64 kB / 0.5551 GB, free: 14.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4402, allocations: 4 kB / 0.5551 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004638/0.4407, allocations: 250 kB / 0.5553 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4407, allocations: 6.219 kB / 0.5553 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4407, allocations: 0 / 0.5553 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.4409, allocations: 56.95 kB / 0.5554 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.4413, allocations: 55.14 kB / 0.5554 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004393/0.4417, allocations: 0.5712 MB / 0.556 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4419, allocations: 4.703 kB / 0.556 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.442, allocations: 32.62 kB / 0.556 GB, free: 13.91 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.0001222/0.4421, allocations: 122.7 kB / 0.5562 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.4422, allocations: 16 kB / 0.5562 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/0.443, allocations: 352.7 kB / 0.5565 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.443, allocations: 0 / 0.5565 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4431, allocations: 4 kB / 0.5565 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4431, allocations: 0.9375 kB / 0.5565 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4441, allocations: 0.6198 MB / 0.5571 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4441, allocations: 5.172 kB / 0.5571 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.4445, allocations: 58.81 kB / 0.5572 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.4446, allocations: 21.41 kB / 0.5572 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4446, allocations: 14.72 kB / 0.5572 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.4456, allocations: 1.277 MB / 0.5585 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.4456, allocations: 0.6562 kB / 0.5585 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.4463, allocations: 473.2 kB / 0.5589 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.4464, allocations: 89.11 kB / 0.559 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.4464, allocations: 8 kB / 0.559 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4467, allocations: 10.2 kB / 0.559 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4468, allocations: 21.92 kB / 0.559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.4468, allocations: 32.41 kB / 0.5591 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.4469, allocations: 83.2 kB / 0.5591 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4469, allocations: 0 / 0.5591 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.4473, allocations: 82.2 kB / 0.5592 GB, free: 10.59 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.0003359/0.4477, allocations: 148.8 kB / 0.5594 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004691/0.4482, allocations: 204.8 kB / 0.5596 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4482, allocations: 0 / 0.5596 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.4485, allocations: 230.8 kB / 0.5598 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4489, allocations: 41.89 kB / 0.5598 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.4498, allocations: 0.5696 MB / 0.5604 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4501, allocations: 0.7065 MB / 0.5611 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.4506, allocations: 76.64 kB / 0.5611 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.4508, allocations: 52.44 kB / 0.5612 GB, free: 8.688 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4508, allocations: 3.938 kB / 0.5612 GB, free: 8.684 MB / 430.1 MB Notification: Performance of Templates: time 0.009217/0.46, allocations: 5.385 MB / 0.5664 GB, free: 3.664 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: