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.001181/0.001182, allocations: 100 kB / 15.05 MB, free: 1.105 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.001588/0.001588, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.405/0.405, allocations: 38.04 MB / 308.4 MB, free: 10.5 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.0006718/0.0006719, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1383, allocations: 57.53 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3776/0.5159, allocations: 125.6 MB / 0.5464 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.5172, allocations: 0.8202 MB / 0.5472 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.5173, allocations: 0 / 0.5472 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.5176, allocations: 28.83 kB / 0.5472 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006215/0.5182, allocations: 213 kB / 0.5474 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.5186, allocations: 87.44 kB / 0.5475 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.5189, allocations: 112.3 kB / 0.5476 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.5189, allocations: 7.625 kB / 0.5476 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.5192, allocations: 84.83 kB / 0.5477 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.5193, allocations: 44.19 kB / 0.5477 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.5193, allocations: 2.75 kB / 0.5477 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.52, allocations: 284.7 kB / 0.548 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.5201, allocations: 26.14 kB / 0.548 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.5201, allocations: 44.7 kB / 0.5481 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.5205, allocations: 192.6 kB / 0.5482 GB, free: 4.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5205, allocations: 0 / 0.5482 GB, free: 4.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5205, allocations: 0 / 0.5482 GB, free: 4.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.5205, allocations: 0 / 0.5482 GB, free: 4.285 MB / 414.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.0005761/0.5211, allocations: 390.6 kB / 0.5486 GB, free: 3.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5211, allocations: 9.781 kB / 0.5486 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.5233, allocations: 192.3 kB / 0.5488 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.5236, allocations: 202.8 kB / 0.549 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5236, allocations: 6.75 kB / 0.549 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.5237, allocations: 12.34 kB / 0.549 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.5242, allocations: 217.8 kB / 0.5492 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5242, allocations: 5.281 kB / 0.5492 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.5243, allocations: 9.547 kB / 0.5492 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5243, allocations: 2.375 kB / 0.5493 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.5248, allocations: 166.1 kB / 0.5494 GB, free: 3.48 MB / 414.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.001235/0.526, allocations: 0.5773 MB / 0.55 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.5264, allocations: 132.3 kB / 0.5501 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.5264, allocations: 7.453 kB / 0.5501 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5264, allocations: 37.83 kB / 0.5501 GB, free: 2.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5265, allocations: 0 / 0.5501 GB, free: 2.855 MB / 414.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.005469/0.5319, allocations: 1.297 MB / 0.5514 GB, free: 2.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.532, allocations: 53.97 kB / 0.5515 GB, free: 2.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5321, allocations: 116.3 kB / 0.5516 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.5322, allocations: 28.2 kB / 0.5516 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.5322, allocations: 103.5 kB / 0.5517 GB, free: 1.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.5323, allocations: 65.11 kB / 0.5518 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.5323, allocations: 7.938 kB / 0.5518 GB, free: 1.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5325, allocations: 324.6 kB / 0.5521 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5326, allocations: 70.23 kB / 0.5521 GB, free: 1.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.5328, allocations: 102.1 kB / 0.5522 GB, free: 1.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.533, allocations: 81.56 kB / 0.5523 GB, free: 1.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.533, allocations: 0 / 0.5523 GB, free: 1.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004828/0.5335, allocations: 259 kB / 0.5526 GB, free: 1.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5335, allocations: 5.125 kB / 0.5526 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5335, allocations: 3.938 kB / 0.5526 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.5337, allocations: 55.16 kB / 0.5526 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.5341, allocations: 51.55 kB / 0.5527 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004599/0.5346, allocations: 0.5733 MB / 0.5532 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5348, allocations: 11.38 kB / 0.5532 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.5348, allocations: 25.41 kB / 0.5533 GB, free: 0.6641 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.535, allocations: 133.1 kB / 0.5534 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.535, allocations: 8.812 kB / 0.5534 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.5359, allocations: 346.8 kB / 0.5537 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5359, allocations: 0.6562 kB / 0.5537 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.536, allocations: 2.781 kB / 0.5537 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.536, allocations: 1.453 kB / 0.5537 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.537, allocations: 0.6151 MB / 0.5543 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.537, allocations: 0 / 0.5543 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.5374, allocations: 66.19 kB / 0.5544 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.5375, allocations: 18.31 kB / 0.5544 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.5375, allocations: 18.88 kB / 0.5544 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.5387, allocations: 1.281 MB / 0.5557 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5387, allocations: 0 / 0.5557 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008119/0.5395, allocations: 464.4 kB / 0.5561 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.5396, allocations: 89.8 kB / 0.5562 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.5396, allocations: 7.359 kB / 0.5562 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5399, allocations: 10.56 kB / 0.5562 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.5399, allocations: 20.56 kB / 0.5563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.54, allocations: 33.14 kB / 0.5563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.5401, allocations: 90.83 kB / 0.5564 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5401, allocations: 4 kB / 0.5564 GB, free: 14.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.5407, allocations: 76.08 kB / 0.5565 GB, free: 14.05 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/0.5411, allocations: 146.1 kB / 0.5566 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.5416, allocations: 209.5 kB / 0.5568 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5417, allocations: 0 / 0.5568 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.542, allocations: 218.6 kB / 0.557 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.5425, allocations: 43.3 kB / 0.557 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.5434, allocations: 0.5692 MB / 0.5576 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5437, allocations: 0.7077 MB / 0.5583 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.5442, allocations: 81.28 kB / 0.5584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5444, allocations: 57.23 kB / 0.5584 GB, free: 12.6 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5444, allocations: 3.938 kB / 0.5584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01008/0.5545, allocations: 5.392 MB / 0.5637 GB, free: 8.062 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: