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.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001604, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.687/1.687, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4608/0.4608, allocations: 39.93 MB / 309.7 MB, free: 9.273 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.001576/0.001576, allocations: 71.17 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1758, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4655/0.6414, allocations: 150.6 MB / 0.5714 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.6429, allocations: 0.9652 MB / 0.5723 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.643, allocations: 4 kB / 0.5723 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.6434, allocations: 34.64 kB / 0.5723 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.6441, allocations: 240 kB / 0.5726 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.6446, allocations: 120.4 kB / 0.5727 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.6448, allocations: 167.3 kB / 0.5728 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.6449, allocations: 8.766 kB / 0.5729 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.6451, allocations: 87.64 kB / 0.5729 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6453, allocations: 51.77 kB / 0.573 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.6453, allocations: 8 kB / 0.573 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.6459, allocations: 259.7 kB / 0.5732 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.646, allocations: 27.97 kB / 0.5733 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.646, allocations: 47.73 kB / 0.5733 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.6465, allocations: 271.4 kB / 0.5736 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6465, allocations: 0 / 0.5736 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6465, allocations: 0 / 0.5736 GB, free: 10.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.6465, allocations: 0 / 0.5736 GB, free: 10.46 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.000589/0.6471, allocations: 418.8 kB / 0.574 GB, free: 10.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6472, allocations: 11.89 kB / 0.574 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.6493, allocations: 191.1 kB / 0.5742 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.6496, allocations: 200.5 kB / 0.5744 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.6497, allocations: 12.69 kB / 0.5744 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.6497, allocations: 7.984 kB / 0.5744 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.6503, allocations: 230.9 kB / 0.5746 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6504, allocations: 4 kB / 0.5746 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.6504, allocations: 0 / 0.5746 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6504, allocations: 7.984 kB / 0.5746 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.6509, allocations: 163.8 kB / 0.5748 GB, free: 9.148 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.001202/0.6521, allocations: 0.5799 MB / 0.5753 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.6525, allocations: 139.6 kB / 0.5755 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6526, allocations: 64.83 kB / 0.5755 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.6527, allocations: 7.984 kB / 0.5755 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6527, allocations: 42.55 kB / 0.5756 GB, free: 8.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6527, allocations: 0 / 0.5756 GB, free: 8.246 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.005755/0.6585, allocations: 1.302 MB / 0.5768 GB, free: 6.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.6585, allocations: 51.41 kB / 0.5769 GB, free: 6.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6587, allocations: 115.8 kB / 0.577 GB, free: 6.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.6587, allocations: 25.7 kB / 0.577 GB, free: 6.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.6588, allocations: 92.05 kB / 0.5771 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.6588, allocations: 78.86 kB / 0.5772 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.6589, allocations: 53.69 kB / 0.5772 GB, free: 6.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6591, allocations: 318.8 kB / 0.5776 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6593, allocations: 71.95 kB / 0.5776 GB, free: 6.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6595, allocations: 109.6 kB / 0.5777 GB, free: 5.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.6598, allocations: 183.3 kB / 0.5779 GB, free: 5.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6598, allocations: 0 / 0.5779 GB, free: 5.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000521/0.6604, allocations: 258.2 kB / 0.5781 GB, free: 5.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6604, allocations: 8 kB / 0.5782 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6604, allocations: 0 / 0.5782 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.6606, allocations: 48.83 kB / 0.5782 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.6609, allocations: 56 kB / 0.5783 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.6614, allocations: 0.5718 MB / 0.5788 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6616, allocations: 4 kB / 0.5788 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.6617, allocations: 27.98 kB / 0.5788 GB, free: 4.711 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.0001255/0.6618, allocations: 125.8 kB / 0.579 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.6618, allocations: 12.5 kB / 0.579 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000858/0.6627, allocations: 347.9 kB / 0.5793 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6627, allocations: 3.938 kB / 0.5793 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6627, allocations: 4 kB / 0.5793 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6628, allocations: 0 / 0.5793 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6638, allocations: 0.6291 MB / 0.5799 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6638, allocations: 0 / 0.5799 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.6642, allocations: 59.95 kB / 0.58 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.116e-05/0.6643, allocations: 20.84 kB / 0.58 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.6643, allocations: 12 kB / 0.58 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.6654, allocations: 1.371 MB / 0.5814 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6654, allocations: 0 / 0.5814 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.6662, allocations: 435.2 kB / 0.5818 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.6662, allocations: 92.98 kB / 0.5819 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6663, allocations: 4 kB / 0.5819 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6665, allocations: 8 kB / 0.5819 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.6666, allocations: 27.84 kB / 0.5819 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.6666, allocations: 31.98 kB / 0.5819 GB, free: 1.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.6667, allocations: 88.67 kB / 0.582 GB, free: 1.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6667, allocations: 0 / 0.582 GB, free: 1.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.6671, allocations: 79.94 kB / 0.5821 GB, free: 1.125 MB / 446.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.0003944/0.6675, allocations: 155 kB / 0.5822 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.6681, allocations: 219 kB / 0.5824 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6681, allocations: 0 / 0.5824 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.6685, allocations: 219 kB / 0.5827 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.6689, allocations: 52.41 kB / 0.5827 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.67, allocations: 484.6 kB / 0.5832 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.6704, allocations: 0.7046 MB / 0.5839 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004102/0.6708, allocations: 77.39 kB / 0.5839 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.671, allocations: 55.41 kB / 0.584 GB, free: 15.12 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.671, allocations: 0 / 0.584 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Templates: time 0.01024/0.6813, allocations: 5.599 MB / 0.5894 GB, free: 9.539 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (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)