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.001625/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001713/0.001713, allocations: 197.2 kB / 16.14 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.709/1.709, allocations: 205.1 MB / 222 MB, free: 4.73 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.3863/0.3863, allocations: 37.98 MB / 307.3 MB, free: 10.1 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.001968/0.001968, allocations: 64.12 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1706, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4599/0.6306, allocations: 148.4 MB / 0.5658 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.6326, allocations: 1.008 MB / 0.5668 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.6327, allocations: 0 / 0.5668 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.6331, allocations: 35.72 kB / 0.5668 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008815/0.634, allocations: 202.3 kB / 0.567 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.6347, allocations: 106.1 kB / 0.5671 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.635, allocations: 206.5 kB / 0.5673 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.6351, allocations: 9.484 kB / 0.5673 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.6354, allocations: 84.28 kB / 0.5674 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.6355, allocations: 52.92 kB / 0.5674 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.6355, allocations: 4.406 kB / 0.5674 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.6362, allocations: 274.8 kB / 0.5677 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.6363, allocations: 16.28 kB / 0.5677 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.6364, allocations: 48.31 kB / 0.5678 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.6369, allocations: 281.6 kB / 0.568 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6369, allocations: 3.938 kB / 0.568 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6369, allocations: 0 / 0.568 GB, free: 1.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.637, allocations: 0 / 0.568 GB, free: 1.031 MB / 430.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.0006923/0.6377, allocations: 406.9 kB / 0.5684 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.6377, allocations: 15.95 kB / 0.5684 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.6398, allocations: 194.7 kB / 0.5686 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.6402, allocations: 198.6 kB / 0.5688 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.6402, allocations: 8.781 kB / 0.5688 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.6403, allocations: 11.25 kB / 0.5688 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.6409, allocations: 223.8 kB / 0.569 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6409, allocations: 0 / 0.569 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.6409, allocations: 6.75 kB / 0.5691 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.6409, allocations: 6.797 kB / 0.5691 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.6414, allocations: 168.4 kB / 0.5692 GB, free: 36 kB / 430.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.001266/0.6427, allocations: 0.577 MB / 0.5698 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.6431, allocations: 147.8 kB / 0.5699 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.6432, allocations: 64.83 kB / 0.57 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.6433, allocations: 4 kB / 0.57 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.6433, allocations: 38.56 kB / 0.57 GB, free: 15.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.6433, allocations: 0 / 0.57 GB, free: 15.24 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.005546/0.6489, allocations: 1.306 MB / 0.5713 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.649, allocations: 55.41 kB / 0.5714 GB, free: 13.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.6491, allocations: 115.9 kB / 0.5715 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.6491, allocations: 29.7 kB / 0.5715 GB, free: 13.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.6492, allocations: 95.95 kB / 0.5716 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.6493, allocations: 70.94 kB / 0.5716 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.6494, allocations: 49.7 kB / 0.5717 GB, free: 13.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6496, allocations: 318.8 kB / 0.572 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6497, allocations: 79.95 kB / 0.5721 GB, free: 13.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6499, allocations: 97.42 kB / 0.5722 GB, free: 12.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.6503, allocations: 183.3 kB / 0.5723 GB, free: 12.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6503, allocations: 0 / 0.5723 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005641/0.6509, allocations: 266.2 kB / 0.5726 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6509, allocations: 4 kB / 0.5726 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.651, allocations: 0 / 0.5726 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.6512, allocations: 48.83 kB / 0.5726 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.6516, allocations: 51.91 kB / 0.5727 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005542/0.6521, allocations: 0.572 MB / 0.5733 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6523, allocations: 8 kB / 0.5733 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.6524, allocations: 23.98 kB / 0.5733 GB, free: 11.71 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.0001469/0.6525, allocations: 121.8 kB / 0.5734 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.6526, allocations: 19.83 kB / 0.5734 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.6535, allocations: 354.6 kB / 0.5738 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/0.6535, allocations: 11.92 kB / 0.5738 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.6535, allocations: 0 / 0.5738 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6535, allocations: 0 / 0.5738 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.6546, allocations: 0.6181 MB / 0.5744 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6546, allocations: 3.938 kB / 0.5744 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.655, allocations: 63.95 kB / 0.5744 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.6551, allocations: 16.84 kB / 0.5745 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6552, allocations: 12 kB / 0.5745 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009907/0.6562, allocations: 1.273 MB / 0.5757 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6562, allocations: 7.875 kB / 0.5757 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.6569, allocations: 434.8 kB / 0.5761 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.657, allocations: 85.05 kB / 0.5762 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.657, allocations: 9.25 kB / 0.5762 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.6572, allocations: 15.92 kB / 0.5762 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.6573, allocations: 28.03 kB / 0.5763 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.6574, allocations: 27.98 kB / 0.5763 GB, free: 8.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.6574, allocations: 89.23 kB / 0.5764 GB, free: 8.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.6575, allocations: 0 / 0.5764 GB, free: 8.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.658, allocations: 79.94 kB / 0.5765 GB, free: 8.207 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.0004321/0.6584, allocations: 151.1 kB / 0.5766 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.659, allocations: 211 kB / 0.5768 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.659, allocations: 192 / 0.5768 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.6594, allocations: 223 kB / 0.577 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6599, allocations: 45.7 kB / 0.5771 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.6608, allocations: 0.5208 MB / 0.5776 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.6611, allocations: 0.7088 MB / 0.5783 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.6616, allocations: 71.52 kB / 0.5783 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.6618, allocations: 51.41 kB / 0.5784 GB, free: 6.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6618, allocations: 4 kB / 0.5784 GB, free: 6.176 MB / 446.1 MB Notification: Performance of Templates: time 0.009995/0.6718, allocations: 5.462 MB / 0.5837 GB, free: 0.7344 MB / 446.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)