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.0009013/0.0009013, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007596/0.007596, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.794/1.794, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4252/0.4252, allocations: 40.01 MB / 310.7 MB, free: 9.59 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.0006945/0.000694, allocations: 12 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.155, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5146/0.6696, allocations: 146.5 MB / 0.5702 GB, free: 388 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.6712, allocations: 0.9787 MB / 0.5711 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.6713, allocations: 0 / 0.5711 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.6716, allocations: 33.28 kB / 0.5712 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006704/0.6723, allocations: 206.3 kB / 0.5714 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.6727, allocations: 109.2 kB / 0.5715 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.673, allocations: 208.7 kB / 0.5717 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.6731, allocations: 9.047 kB / 0.5717 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.6733, allocations: 87.06 kB / 0.5718 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.6734, allocations: 51.3 kB / 0.5718 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.6735, allocations: 3.375 kB / 0.5718 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.674, allocations: 265 kB / 0.5721 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.6741, allocations: 27.86 kB / 0.5721 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.6742, allocations: 69.55 kB / 0.5722 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.6748, allocations: 282.9 kB / 0.5724 GB, free: 14.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6748, allocations: 0 / 0.5724 GB, free: 14.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6748, allocations: 0 / 0.5724 GB, free: 14.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.6748, allocations: 0 / 0.5724 GB, free: 14.63 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.0005928/0.6754, allocations: 390.9 kB / 0.5728 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.6755, allocations: 8.031 kB / 0.5728 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.6777, allocations: 191.1 kB / 0.573 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.678, allocations: 201 kB / 0.5732 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.678, allocations: 11.94 kB / 0.5732 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.6781, allocations: 4 kB / 0.5732 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.6787, allocations: 228.1 kB / 0.5734 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6787, allocations: 0.9375 kB / 0.5734 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.6787, allocations: 7.922 kB / 0.5734 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.6788, allocations: 4 kB / 0.5734 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.6792, allocations: 163.9 kB / 0.5736 GB, free: 13.36 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.001159/0.6804, allocations: 0.5863 MB / 0.5742 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.6807, allocations: 134.5 kB / 0.5743 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.6809, allocations: 69.61 kB / 0.5743 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.6809, allocations: 11.97 kB / 0.5744 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.681, allocations: 34.56 kB / 0.5744 GB, free: 12.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.681, allocations: 3.938 kB / 0.5744 GB, free: 12.45 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.00549/0.6865, allocations: 1.302 MB / 0.5757 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.6865, allocations: 59.39 kB / 0.5757 GB, free: 10.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.6867, allocations: 121.7 kB / 0.5758 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.6867, allocations: 29.7 kB / 0.5759 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.6868, allocations: 88.05 kB / 0.576 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.6869, allocations: 74.92 kB / 0.576 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.6869, allocations: 25.72 kB / 0.576 GB, free: 10.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.687, allocations: 318.8 kB / 0.5764 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6872, allocations: 67.97 kB / 0.5764 GB, free: 10.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.6874, allocations: 107.4 kB / 0.5765 GB, free: 10.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.6877, allocations: 183.3 kB / 0.5767 GB, free: 9.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6878, allocations: 0.75 kB / 0.5767 GB, free: 9.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005225/0.6883, allocations: 262.2 kB / 0.5769 GB, free: 9.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.6883, allocations: 8 kB / 0.577 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6883, allocations: 0 / 0.577 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.6886, allocations: 48.83 kB / 0.577 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.6889, allocations: 51.91 kB / 0.577 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/0.6894, allocations: 0.5758 MB / 0.5776 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.6896, allocations: 4 kB / 0.5776 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.6896, allocations: 28.64 kB / 0.5776 GB, free: 8.93 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.0001437/0.6898, allocations: 117.8 kB / 0.5778 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.6899, allocations: 11.91 kB / 0.5778 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008916/0.6908, allocations: 348.6 kB / 0.5781 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.6908, allocations: 7.938 kB / 0.5781 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6908, allocations: 3.984 kB / 0.5781 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6908, allocations: 0 / 0.5781 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6918, allocations: 0.6204 MB / 0.5787 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.6918, allocations: 0 / 0.5787 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.6922, allocations: 63.89 kB / 0.5788 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/0.6923, allocations: 32.67 kB / 0.5788 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.6923, allocations: 12 kB / 0.5788 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009512/0.6933, allocations: 1.269 MB / 0.5801 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6933, allocations: 3.938 kB / 0.5801 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.694, allocations: 430.8 kB / 0.5805 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.694, allocations: 85.02 kB / 0.5806 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.6941, allocations: 7.938 kB / 0.5806 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.6943, allocations: 15.92 kB / 0.5806 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.6944, allocations: 19.97 kB / 0.5806 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.6944, allocations: 32.06 kB / 0.5806 GB, free: 5.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.225e-05/0.6945, allocations: 83.27 kB / 0.5807 GB, free: 5.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6945, allocations: 4 kB / 0.5807 GB, free: 5.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.6949, allocations: 76.94 kB / 0.5808 GB, free: 5.457 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.0004086/0.6954, allocations: 155 kB / 0.5809 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.6959, allocations: 205.4 kB / 0.5811 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6959, allocations: 0 / 0.5811 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.6963, allocations: 231.4 kB / 0.5813 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.6969, allocations: 51.81 kB / 0.5814 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.6979, allocations: 0.585 MB / 0.582 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6982, allocations: 0.7049 MB / 0.5827 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.6986, allocations: 86.23 kB / 0.5827 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.6988, allocations: 47.41 kB / 0.5828 GB, free: 3.348 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6988, allocations: 0 / 0.5828 GB, free: 3.348 MB / 446.1 MB Notification: Performance of Templates: time 0.01088/0.7097, allocations: 5.425 MB / 0.5881 GB, free: 13.95 MB / 462.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: