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.001049/0.001049, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008907/0.008907, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.628/1.628, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.349/0.349, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0007142/0.0007141, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1067, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3183/0.425, allocations: 146.5 MB / 0.5674 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.4264, allocations: 0.9887 MB / 0.5684 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.4265, allocations: 6.312 kB / 0.5684 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.4267, allocations: 29.55 kB / 0.5684 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.4274, allocations: 205.3 kB / 0.5686 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4277, allocations: 108.7 kB / 0.5687 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.428, allocations: 206.2 kB / 0.5689 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.4281, allocations: 7.734 kB / 0.5689 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.4283, allocations: 83.22 kB / 0.569 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4284, allocations: 60.95 kB / 0.569 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.4284, allocations: 3.344 kB / 0.569 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.429, allocations: 264.6 kB / 0.5693 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.4291, allocations: 21.75 kB / 0.5693 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.4291, allocations: 64.91 kB / 0.5694 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.4296, allocations: 277.6 kB / 0.5696 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4296, allocations: 0 / 0.5696 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4296, allocations: 3.938 kB / 0.5696 GB, free: 2.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.4296, allocations: 0 / 0.5696 GB, free: 2.375 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.0004697/0.4301, allocations: 398 kB / 0.57 GB, free: 1.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4301, allocations: 7.219 kB / 0.57 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4322, allocations: 185.8 kB / 0.5702 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.4324, allocations: 202.5 kB / 0.5704 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4325, allocations: 14.06 kB / 0.5704 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.4325, allocations: 10.31 kB / 0.5704 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.433, allocations: 224.5 kB / 0.5706 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4331, allocations: 0 / 0.5706 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.4331, allocations: 11.39 kB / 0.5706 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4331, allocations: 0 / 0.5706 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.4335, allocations: 167.7 kB / 0.5708 GB, free: 1.391 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.0009912/0.4345, allocations: 0.5809 MB / 0.5714 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.4349, allocations: 143.2 kB / 0.5715 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.435, allocations: 72.58 kB / 0.5716 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.4351, allocations: 6.094 kB / 0.5716 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4351, allocations: 40.64 kB / 0.5716 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/0.4351, allocations: 0 / 0.5716 GB, free: 0.6484 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.005208/0.4403, allocations: 1.303 MB / 0.5729 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4404, allocations: 55.39 kB / 0.573 GB, free: 15.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4405, allocations: 111.6 kB / 0.5731 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4405, allocations: 32.05 kB / 0.5731 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.4406, allocations: 91.95 kB / 0.5732 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.4407, allocations: 75.02 kB / 0.5732 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.4407, allocations: 17.72 kB / 0.5733 GB, free: 15.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4408, allocations: 326.8 kB / 0.5736 GB, free: 15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.441, allocations: 67.97 kB / 0.5736 GB, free: 14.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4412, allocations: 107.3 kB / 0.5737 GB, free: 14.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4415, allocations: 183.3 kB / 0.5739 GB, free: 14.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4415, allocations: 4 kB / 0.5739 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004962/0.442, allocations: 266 kB / 0.5742 GB, free: 14.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4421, allocations: 4 kB / 0.5742 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4421, allocations: 4 kB / 0.5742 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.4423, allocations: 48.83 kB / 0.5742 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.4426, allocations: 52.06 kB / 0.5743 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004203/0.443, allocations: 0.5684 MB / 0.5748 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.4432, allocations: 8.031 kB / 0.5748 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.4433, allocations: 23.98 kB / 0.5749 GB, free: 13.62 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.0001303/0.4434, allocations: 129.9 kB / 0.575 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.4434, allocations: 7.906 kB / 0.575 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008242/0.4443, allocations: 341.3 kB / 0.5753 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4443, allocations: 7.938 kB / 0.5753 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4443, allocations: 3.984 kB / 0.5753 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4443, allocations: 0 / 0.5753 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4454, allocations: 0.6216 MB / 0.5759 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4454, allocations: 7.984 kB / 0.5759 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.4457, allocations: 63.84 kB / 0.576 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.4458, allocations: 20.83 kB / 0.576 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.4459, allocations: 12 kB / 0.576 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009198/0.4468, allocations: 1.265 MB / 0.5773 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4468, allocations: 8.125 kB / 0.5773 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.4475, allocations: 432.3 kB / 0.5777 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.4476, allocations: 89.03 kB / 0.5778 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4476, allocations: 11.94 kB / 0.5778 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.4479, allocations: 19.98 kB / 0.5778 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4479, allocations: 19.97 kB / 0.5778 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.448, allocations: 24 kB / 0.5779 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.863e-05/0.4481, allocations: 91.27 kB / 0.5779 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4481, allocations: 0 / 0.5779 GB, free: 10.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.4485, allocations: 83.94 kB / 0.578 GB, free: 10.13 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.0003682/0.4489, allocations: 151 kB / 0.5782 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005017/0.4494, allocations: 215.2 kB / 0.5784 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4494, allocations: 0 / 0.5784 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.4497, allocations: 219 kB / 0.5786 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.4502, allocations: 50.22 kB / 0.5786 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.4512, allocations: 0.5762 MB / 0.5792 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4515, allocations: 0.7049 MB / 0.5799 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.4519, allocations: 83.64 kB / 0.58 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.4521, allocations: 51.41 kB / 0.58 GB, free: 8.031 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4521, allocations: 0 / 0.58 GB, free: 8.031 MB / 446.1 MB Notification: Performance of Templates: time 0.01069/0.4628, allocations: 5.426 MB / 0.5853 GB, free: 2.617 MB / 446.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: