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.001275/0.001275, 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.001418/0.001419, allocations: 193 kB / 16.13 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.713/1.713, allocations: 205.1 MB / 222 MB, free: 4.945 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.4213/0.4213, allocations: 39.94 MB / 309.3 MB, free: 9.215 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.001543/0.001543, allocations: 63.91 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1422, allocations: 56.87 MB / 433.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4331/0.5754, allocations: 148.4 MB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.5768, allocations: 1.012 MB / 0.5695 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.5769, allocations: 0 / 0.5695 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.5773, allocations: 29.22 kB / 0.5695 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006475/0.5779, allocations: 211.2 kB / 0.5697 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.5783, allocations: 98.55 kB / 0.5698 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.5786, allocations: 208.1 kB / 0.57 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.5787, allocations: 16.7 kB / 0.57 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.5789, allocations: 88.12 kB / 0.5701 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.579, allocations: 47.83 kB / 0.5702 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.5791, allocations: 4 kB / 0.5702 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.5796, allocations: 271.6 kB / 0.5704 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.5796, allocations: 23.91 kB / 0.5704 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.5797, allocations: 43.8 kB / 0.5705 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.5802, allocations: 279.4 kB / 0.5708 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5802, allocations: 4.656 kB / 0.5708 GB, free: 13.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5802, allocations: 0 / 0.5708 GB, free: 13.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.5802, allocations: 4 kB / 0.5708 GB, free: 13.19 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.0005854/0.5808, allocations: 402.5 kB / 0.5711 GB, free: 12.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5809, allocations: 12.03 kB / 0.5712 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.5829, allocations: 195.1 kB / 0.5713 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5832, allocations: 204.5 kB / 0.5715 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5832, allocations: 5.531 kB / 0.5715 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.5832, allocations: 15.91 kB / 0.5716 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.5838, allocations: 216.1 kB / 0.5718 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5838, allocations: 0 / 0.5718 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.5838, allocations: 8 kB / 0.5718 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5839, allocations: 4 kB / 0.5718 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.5843, allocations: 171.8 kB / 0.5719 GB, free: 11.89 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.001124/0.5855, allocations: 0.5825 MB / 0.5725 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.5858, allocations: 138.5 kB / 0.5726 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.586, allocations: 68.83 kB / 0.5727 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.586, allocations: 0 / 0.5727 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.586, allocations: 38.56 kB / 0.5727 GB, free: 10.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.586, allocations: 0 / 0.5727 GB, free: 10.99 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.005321/0.5914, allocations: 1.309 MB / 0.574 GB, free: 9.602 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5914, allocations: 55.41 kB / 0.5741 GB, free: 9.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5915, allocations: 105.8 kB / 0.5742 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.5916, allocations: 37.64 kB / 0.5742 GB, free: 9.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.5917, allocations: 96.03 kB / 0.5743 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.5917, allocations: 70.94 kB / 0.5744 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5918, allocations: 49.7 kB / 0.5744 GB, free: 9.156 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.592, allocations: 326.8 kB / 0.5747 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5921, allocations: 67.97 kB / 0.5748 GB, free: 8.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5923, allocations: 105.4 kB / 0.5749 GB, free: 8.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.5927, allocations: 183.3 kB / 0.5751 GB, free: 8.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5927, allocations: 4 kB / 0.5751 GB, free: 8.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004998/0.5932, allocations: 254.2 kB / 0.5753 GB, free: 8.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5932, allocations: 4 kB / 0.5753 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5932, allocations: 8.094 kB / 0.5753 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.5934, allocations: 48.83 kB / 0.5754 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.5938, allocations: 55.91 kB / 0.5754 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.5942, allocations: 0.5658 MB / 0.576 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5944, allocations: 12.12 kB / 0.576 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.5945, allocations: 27.92 kB / 0.576 GB, free: 7.449 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.00015/0.5946, allocations: 125.8 kB / 0.5761 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5947, allocations: 7.906 kB / 0.5761 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.5955, allocations: 344.8 kB / 0.5765 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5956, allocations: 7.938 kB / 0.5765 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.5956, allocations: 7.984 kB / 0.5765 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5956, allocations: 0 / 0.5765 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.5966, allocations: 0.6232 MB / 0.5771 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5966, allocations: 0 / 0.5771 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.5969, allocations: 60.05 kB / 0.5772 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.229e-05/0.597, allocations: 32.77 kB / 0.5772 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.5971, allocations: 8 kB / 0.5772 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009484/0.598, allocations: 1.266 MB / 0.5784 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.598, allocations: 7.875 kB / 0.5784 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.5988, allocations: 433.3 kB / 0.5789 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.5988, allocations: 85.05 kB / 0.5789 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5989, allocations: 15.88 kB / 0.5789 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5991, allocations: 15.92 kB / 0.579 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.5992, allocations: 23.91 kB / 0.579 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.5992, allocations: 27.88 kB / 0.579 GB, free: 4.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.094e-05/0.5993, allocations: 92.98 kB / 0.5791 GB, free: 4.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5993, allocations: 4.062 kB / 0.5791 GB, free: 4.035 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.5997, allocations: 76 kB / 0.5792 GB, free: 3.961 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.0003792/0.6001, allocations: 151.1 kB / 0.5793 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.6006, allocations: 209.4 kB / 0.5795 GB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6006, allocations: 0 / 0.5795 GB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.601, allocations: 215.1 kB / 0.5797 GB, free: 3.383 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.6015, allocations: 52.33 kB / 0.5798 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.6024, allocations: 0.5108 MB / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.6028, allocations: 0.7049 MB / 0.581 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004323/0.6032, allocations: 73.39 kB / 0.581 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6034, allocations: 55.41 kB / 0.5811 GB, free: 1.945 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6034, allocations: 3.938 kB / 0.5811 GB, free: 1.941 MB / 446.1 MB Notification: Performance of Templates: time 0.009687/0.6131, allocations: 5.474 MB / 0.5864 GB, free: 12.5 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)