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.001538/0.001539, allocations: 108 kB / 15.6 MB, free: 132 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.00204/0.00204, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.768/1.768, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.4505/0.4505, allocations: 38 MB / 307.7 MB, free: 10.03 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.002341/0.002341, allocations: 71.91 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1796, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4624/0.6421, allocations: 150.6 MB / 0.5686 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.6437, allocations: 0.9738 MB / 0.5696 GB, free: 72 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.6438, allocations: 2.688 kB / 0.5696 GB, free: 72 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.6441, allocations: 34.17 kB / 0.5696 GB, free: 40 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.6449, allocations: 239.8 kB / 0.5699 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.6453, allocations: 123.9 kB / 0.57 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.6456, allocations: 163.3 kB / 0.5701 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.6457, allocations: 8.906 kB / 0.5701 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.6459, allocations: 91.62 kB / 0.5702 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.646, allocations: 47.77 kB / 0.5703 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.646, allocations: 8 kB / 0.5703 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.6467, allocations: 259.7 kB / 0.5705 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.6468, allocations: 19.97 kB / 0.5705 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.6469, allocations: 47.73 kB / 0.5706 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.6474, allocations: 283.4 kB / 0.5709 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.6474, allocations: 0 / 0.5709 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6474, allocations: 0 / 0.5709 GB, free: 14.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.6474, allocations: 0 / 0.5709 GB, free: 14.85 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.000697/0.6481, allocations: 414.6 kB / 0.5713 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6482, allocations: 11.89 kB / 0.5713 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.6504, allocations: 195.1 kB / 0.5715 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.6507, allocations: 204.4 kB / 0.5716 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.6508, allocations: 10.69 kB / 0.5717 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.6508, allocations: 11.98 kB / 0.5717 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.6514, allocations: 219 kB / 0.5719 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6514, allocations: 4 kB / 0.5719 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.6515, allocations: 8 kB / 0.5719 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.6515, allocations: 4 kB / 0.5719 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.652, allocations: 163.8 kB / 0.572 GB, free: 13.54 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.001278/0.6533, allocations: 0.5787 MB / 0.5726 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.6536, allocations: 139.6 kB / 0.5727 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.6538, allocations: 64.83 kB / 0.5728 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.6539, allocations: 4.25 kB / 0.5728 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.6539, allocations: 38.55 kB / 0.5728 GB, free: 12.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.6539, allocations: 0 / 0.5728 GB, free: 12.65 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.005728/0.6597, allocations: 1.312 MB / 0.5741 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6597, allocations: 51.41 kB / 0.5742 GB, free: 11.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.6598, allocations: 115.5 kB / 0.5743 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.6599, allocations: 29.7 kB / 0.5743 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.6599, allocations: 99.89 kB / 0.5744 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.66, allocations: 74.92 kB / 0.5745 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6601, allocations: 53.69 kB / 0.5745 GB, free: 10.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6602, allocations: 314.8 kB / 0.5748 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.6604, allocations: 71.95 kB / 0.5749 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6606, allocations: 109.6 kB / 0.575 GB, free: 10.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.661, allocations: 179.3 kB / 0.5752 GB, free: 10.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.661, allocations: 0 / 0.5752 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005272/0.6615, allocations: 270.1 kB / 0.5754 GB, free: 9.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6615, allocations: 4 kB / 0.5754 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6615, allocations: 0 / 0.5754 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.6618, allocations: 48.83 kB / 0.5755 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.6621, allocations: 55.91 kB / 0.5755 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005648/0.6627, allocations: 0.5681 MB / 0.5761 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.6629, allocations: 4 kB / 0.5761 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.6629, allocations: 27.98 kB / 0.5761 GB, free: 9.102 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.0001363/0.6631, allocations: 121.8 kB / 0.5762 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.6631, allocations: 7.906 kB / 0.5763 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/0.664, allocations: 360.1 kB / 0.5766 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.664, allocations: 3.938 kB / 0.5766 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.664, allocations: 4 kB / 0.5766 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.664, allocations: 0 / 0.5766 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.6651, allocations: 0.6209 MB / 0.5772 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6651, allocations: 3.875 kB / 0.5772 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.6654, allocations: 63.95 kB / 0.5773 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.931e-05/0.6655, allocations: 20.84 kB / 0.5773 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.6655, allocations: 8 kB / 0.5773 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.6667, allocations: 1.371 MB / 0.5786 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6667, allocations: 160 / 0.5786 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.6674, allocations: 434.6 kB / 0.5791 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.6675, allocations: 85.02 kB / 0.5791 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.6675, allocations: 4 kB / 0.5791 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6677, allocations: 12 kB / 0.5792 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.6678, allocations: 27.91 kB / 0.5792 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.6679, allocations: 31.97 kB / 0.5792 GB, free: 5.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.6679, allocations: 95.25 kB / 0.5793 GB, free: 5.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6679, allocations: 0 / 0.5793 GB, free: 5.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.6684, allocations: 79.94 kB / 0.5794 GB, free: 5.508 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.0003825/0.6687, allocations: 147.1 kB / 0.5795 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005693/0.6693, allocations: 219.2 kB / 0.5797 GB, free: 5.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6693, allocations: 0 / 0.5797 GB, free: 5.145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.6697, allocations: 223 kB / 0.5799 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.6702, allocations: 48.08 kB / 0.58 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.6711, allocations: 477 kB / 0.5804 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.6715, allocations: 0.7085 MB / 0.5811 GB, free: 3.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.672, allocations: 79.55 kB / 0.5812 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.6722, allocations: 55.41 kB / 0.5813 GB, free: 3.516 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6722, allocations: 0 / 0.5813 GB, free: 3.516 MB / 446.1 MB Notification: Performance of Templates: time 0.01054/0.6828, allocations: 5.6 MB / 0.5867 GB, free: 13.93 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (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)