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.001301/0.0013, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001936/0.001936, allocations: 168.7 kB / 15.95 MB, free: 204 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.963/1.963, allocations: 205.4 MB / 222.1 MB, free: 5.383 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.4452/0.4452, allocations: 40 MB / 310.4 MB, free: 10.09 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.0005634/0.0005634, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1518, allocations: 57.97 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4534/0.6052, allocations: 136.6 MB / 0.5599 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.6064, allocations: 0.9126 MB / 0.5608 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.6065, allocations: 0 / 0.5608 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.6067, allocations: 22.86 kB / 0.5609 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.6072, allocations: 195 kB / 0.561 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.6075, allocations: 102.7 kB / 0.5611 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.6078, allocations: 183.9 kB / 0.5613 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.6079, allocations: 6.062 kB / 0.5613 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.6081, allocations: 86.88 kB / 0.5614 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.6082, allocations: 55.7 kB / 0.5615 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.6082, allocations: 7.312 kB / 0.5615 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.6087, allocations: 265.2 kB / 0.5617 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.6088, allocations: 21.03 kB / 0.5617 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.6088, allocations: 38.86 kB / 0.5618 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.6092, allocations: 197.6 kB / 0.562 GB, free: 8.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.6092, allocations: 0 / 0.562 GB, free: 8.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6092, allocations: 0 / 0.562 GB, free: 8.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.6092, allocations: 0 / 0.562 GB, free: 8.785 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.0004966/0.6097, allocations: 390.5 kB / 0.5623 GB, free: 8.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6097, allocations: 13.08 kB / 0.5623 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.6115, allocations: 186.7 kB / 0.5625 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.6117, allocations: 203.3 kB / 0.5627 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.6118, allocations: 7.062 kB / 0.5627 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.6118, allocations: 10.66 kB / 0.5627 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.6123, allocations: 221 kB / 0.5629 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6123, allocations: 0 / 0.5629 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.6123, allocations: 3.594 kB / 0.5629 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6123, allocations: 3.984 kB / 0.563 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.6127, allocations: 175.1 kB / 0.5631 GB, free: 7.801 MB / 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.0009652/0.6137, allocations: 0.5842 MB / 0.5637 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.614, allocations: 131.7 kB / 0.5638 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.6142, allocations: 70.55 kB / 0.5639 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.6142, allocations: 6.188 kB / 0.5639 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.6142, allocations: 36.72 kB / 0.5639 GB, free: 7.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.6142, allocations: 0 / 0.5639 GB, free: 7.07 MB / 430.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.004938/0.6192, allocations: 1.298 MB / 0.5652 GB, free: 5.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6193, allocations: 56.06 kB / 0.5652 GB, free: 5.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.6194, allocations: 113.8 kB / 0.5654 GB, free: 5.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.6194, allocations: 33.69 kB / 0.5654 GB, free: 5.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.6195, allocations: 95.89 kB / 0.5655 GB, free: 5.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.6195, allocations: 70.98 kB / 0.5655 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.6196, allocations: 11.94 kB / 0.5656 GB, free: 5.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6197, allocations: 314.8 kB / 0.5659 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.6199, allocations: 76.89 kB / 0.5659 GB, free: 5.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.62, allocations: 103.5 kB / 0.566 GB, free: 4.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.6202, allocations: 76.92 kB / 0.5661 GB, free: 4.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6202, allocations: 0 / 0.5661 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005416/0.6208, allocations: 259.4 kB / 0.5663 GB, free: 4.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6208, allocations: 4 kB / 0.5664 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6208, allocations: 7.938 kB / 0.5664 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.621, allocations: 48.83 kB / 0.5664 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.6213, allocations: 51.97 kB / 0.5665 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004107/0.6217, allocations: 0.568 MB / 0.567 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.6219, allocations: 9.938 kB / 0.567 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.6219, allocations: 23.98 kB / 0.567 GB, free: 3.859 MB / 430.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.0001122/0.6221, allocations: 129.7 kB / 0.5672 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.6221, allocations: 7.906 kB / 0.5672 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/0.6229, allocations: 356.1 kB / 0.5675 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6229, allocations: 4 kB / 0.5675 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.623, allocations: 3.984 kB / 0.5675 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.623, allocations: 0 / 0.5675 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.624, allocations: 0.6143 MB / 0.5681 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.624, allocations: 0 / 0.5681 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.6243, allocations: 67.89 kB / 0.5682 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.574e-05/0.6244, allocations: 20.84 kB / 0.5682 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.6244, allocations: 11.98 kB / 0.5682 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.6254, allocations: 1.278 MB / 0.5695 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6254, allocations: 0 / 0.5695 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.6261, allocations: 434.7 kB / 0.5699 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.6262, allocations: 89.03 kB / 0.57 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.6262, allocations: 8 kB / 0.57 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.6264, allocations: 15.8 kB / 0.57 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.6265, allocations: 27.92 kB / 0.57 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.6265, allocations: 28.06 kB / 0.57 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.6266, allocations: 87.27 kB / 0.5701 GB, free: 460 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.6266, allocations: 0 / 0.5701 GB, free: 460 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.627, allocations: 79.94 kB / 0.5702 GB, free: 380 kB / 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.0003529/0.6274, allocations: 159.1 kB / 0.5703 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004861/0.6279, allocations: 199.1 kB / 0.5705 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6279, allocations: 0 / 0.5705 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.6283, allocations: 227.4 kB / 0.5708 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.6287, allocations: 48.56 kB / 0.5708 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.6296, allocations: 0.5623 MB / 0.5714 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.6299, allocations: 0.7049 MB / 0.572 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004313/0.6304, allocations: 81.41 kB / 0.5721 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.6306, allocations: 47.41 kB / 0.5722 GB, free: 14.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6306, allocations: 0 / 0.5722 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Templates: time 0.009836/0.6404, allocations: 5.399 MB / 0.5774 GB, free: 8.91 MB / 446.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: