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.001106/0.001106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001219/0.001219, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.72/1.72, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3618/0.3618, allocations: 39.92 MB / 309.4 MB, free: 9.578 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.001485/0.001486, allocations: 67.91 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1586, allocations: 56.88 MB / 434 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5022/0.6609, allocations: 148.5 MB / 0.5688 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.6623, allocations: 0.9862 MB / 0.5698 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.6624, allocations: 0 / 0.5698 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.6628, allocations: 23.83 kB / 0.5698 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.6634, allocations: 218.2 kB / 0.57 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.6639, allocations: 107 kB / 0.5701 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.6641, allocations: 167.3 kB / 0.5703 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.6642, allocations: 12.75 kB / 0.5703 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.6645, allocations: 87.64 kB / 0.5704 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.6646, allocations: 51.83 kB / 0.5704 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.6646, allocations: 4 kB / 0.5704 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.6652, allocations: 279.6 kB / 0.5707 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.6652, allocations: 23.84 kB / 0.5707 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.6653, allocations: 47.78 kB / 0.5707 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.6658, allocations: 286.8 kB / 0.571 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6658, allocations: 0 / 0.571 GB, free: 13.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6658, allocations: 0 / 0.571 GB, free: 13.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.6658, allocations: 0 / 0.571 GB, free: 13.18 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.0006538/0.6665, allocations: 410.9 kB / 0.5714 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6666, allocations: 11.89 kB / 0.5714 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.6687, allocations: 191.1 kB / 0.5716 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.669, allocations: 204.5 kB / 0.5718 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6691, allocations: 7.938 kB / 0.5718 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.6691, allocations: 8 kB / 0.5718 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.6696, allocations: 228 kB / 0.572 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6696, allocations: 0 / 0.572 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.6697, allocations: 11.88 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.6697, allocations: 4 kB / 0.572 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.6701, allocations: 163.9 kB / 0.5722 GB, free: 11.87 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.001104/0.6713, allocations: 0.5748 MB / 0.5728 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.6716, allocations: 138.5 kB / 0.5729 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.6718, allocations: 69.33 kB / 0.573 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.6718, allocations: 4 kB / 0.573 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6718, allocations: 34.56 kB / 0.573 GB, free: 10.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.6719, allocations: 0 / 0.573 GB, free: 10.98 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.005471/0.6773, allocations: 1.314 MB / 0.5743 GB, free: 9.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6774, allocations: 51.41 kB / 0.5743 GB, free: 9.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.6775, allocations: 117.8 kB / 0.5744 GB, free: 9.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.6776, allocations: 29.7 kB / 0.5745 GB, free: 9.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.6776, allocations: 92.05 kB / 0.5746 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.6777, allocations: 70.94 kB / 0.5746 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.6778, allocations: 53.7 kB / 0.5747 GB, free: 9.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.678, allocations: 318.8 kB / 0.575 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.6782, allocations: 75.95 kB / 0.5751 GB, free: 8.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.6784, allocations: 98.28 kB / 0.5752 GB, free: 8.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.6787, allocations: 187.3 kB / 0.5753 GB, free: 8.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6788, allocations: 0 / 0.5753 GB, free: 8.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004964/0.6793, allocations: 261.8 kB / 0.5756 GB, free: 8.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6793, allocations: 4 kB / 0.5756 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6793, allocations: 0 / 0.5756 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.6795, allocations: 52.92 kB / 0.5756 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.6799, allocations: 54.53 kB / 0.5757 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005456/0.6804, allocations: 0.5756 MB / 0.5762 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.6806, allocations: 8 kB / 0.5763 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.6807, allocations: 28.08 kB / 0.5763 GB, free: 7.438 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.0001551/0.6808, allocations: 121.8 kB / 0.5764 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.6809, allocations: 11.91 kB / 0.5764 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.6818, allocations: 345.5 kB / 0.5767 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.6818, allocations: 11.92 kB / 0.5768 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6818, allocations: 0 / 0.5768 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6818, allocations: 4 kB / 0.5768 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.6828, allocations: 0.6204 MB / 0.5774 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6828, allocations: 3.984 kB / 0.5774 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.6832, allocations: 63.91 kB / 0.5774 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-05/0.6832, allocations: 24.92 kB / 0.5774 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.6833, allocations: 12 kB / 0.5775 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009994/0.6843, allocations: 1.364 MB / 0.5788 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6843, allocations: 4.031 kB / 0.5788 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.685, allocations: 437.2 kB / 0.5792 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.6851, allocations: 89.03 kB / 0.5793 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.6851, allocations: 4 kB / 0.5793 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.6853, allocations: 11.94 kB / 0.5793 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.6854, allocations: 23.97 kB / 0.5793 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.6855, allocations: 28.05 kB / 0.5794 GB, free: 4.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.6855, allocations: 87.28 kB / 0.5794 GB, free: 3.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6855, allocations: 0 / 0.5794 GB, free: 3.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.686, allocations: 83.98 kB / 0.5795 GB, free: 3.855 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.0003633/0.6863, allocations: 147.1 kB / 0.5797 GB, free: 3.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005929/0.6869, allocations: 225 kB / 0.5799 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6869, allocations: 0 / 0.5799 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.6874, allocations: 227.5 kB / 0.5801 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.6879, allocations: 45.27 kB / 0.5801 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.6889, allocations: 0.5234 MB / 0.5807 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6893, allocations: 0.7046 MB / 0.5813 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.6898, allocations: 84.36 kB / 0.5814 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.69, allocations: 51.41 kB / 0.5815 GB, free: 1.809 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.69, allocations: 0 / 0.5815 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Templates: time 0.01057/0.7006, allocations: 5.589 MB / 0.5869 GB, free: 12.24 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)