Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001547/0.001547, allocations: 169.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.612/1.612, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001852/0.001852, allocations: 109.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.925e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08025, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.268, allocations: 441.3 MB / 0.7314 GB, free: 20.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/1.268, allocations: 73.75 kB / 0.7314 GB, free: 20.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3826/1.651, allocations: 29.77 MB / 0.7605 GB, free: 125 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.651, allocations: 0 / 0.7605 GB, free: 125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/1.651, allocations: 3.906 kB / 0.7605 GB, free: 125 MB / 362.7 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.0005252/1.651, allocations: 378.6 kB / 0.7609 GB, free: 124.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/1.651, allocations: 13.41 kB / 0.7609 GB, free: 124.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/1.653, allocations: 184.7 kB / 0.7611 GB, free: 124.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/1.653, allocations: 211.7 kB / 0.7613 GB, free: 124.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.653, allocations: 0 / 0.7613 GB, free: 124.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/1.654, allocations: 13.66 kB / 0.7613 GB, free: 124.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/1.654, allocations: 207.8 kB / 0.7615 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.654, allocations: 0 / 0.7615 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/1.654, allocations: 3.391 kB / 0.7615 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.654, allocations: 7.844 kB / 0.7615 GB, free: 124.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/1.654, allocations: 153.6 kB / 0.7616 GB, free: 124.4 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001288/1.656, allocations: 0.5856 MB / 0.7622 GB, free: 124 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/1.656, allocations: 132.8 kB / 0.7623 GB, free: 123.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/1.656, allocations: 68.23 kB / 0.7624 GB, free: 123.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/1.656, allocations: 6.797 kB / 0.7624 GB, free: 123.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.656, allocations: 34.72 kB / 0.7624 GB, free: 123.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/1.656, allocations: 5.25 kB / 0.7625 GB, free: 123.9 MB / 362.7 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.005045/1.661, allocations: 1.081 MB / 0.7635 GB, free: 123.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.661, allocations: 52.78 kB / 0.7636 GB, free: 123.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.662, allocations: 111.7 kB / 0.7637 GB, free: 123.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/1.662, allocations: 29.73 kB / 0.7637 GB, free: 123.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/1.662, allocations: 100.4 kB / 0.7638 GB, free: 123.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/1.662, allocations: 64.42 kB / 0.7638 GB, free: 123.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/1.662, allocations: 2.938 kB / 0.7639 GB, free: 123.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/1.662, allocations: 327.2 kB / 0.7642 GB, free: 122.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/1.662, allocations: 66.94 kB / 0.7642 GB, free: 122.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/1.662, allocations: 97.11 kB / 0.7643 GB, free: 122.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.662, allocations: 71.88 kB / 0.7644 GB, free: 122.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.663, allocations: 1.312 kB / 0.7644 GB, free: 122.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005272/1.663, allocations: 256.3 kB / 0.7646 GB, free: 122.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.663, allocations: 9.5 kB / 0.7646 GB, free: 122.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.663, allocations: 1.281 kB / 0.7646 GB, free: 122.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/1.663, allocations: 55.97 kB / 0.7647 GB, free: 122.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/1.664, allocations: 52.25 kB / 0.7647 GB, free: 122.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004229/1.664, allocations: 0.565 MB / 0.7653 GB, free: 122.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/1.664, allocations: 7.031 kB / 0.7653 GB, free: 122.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/1.664, allocations: 28.66 kB / 0.7653 GB, free: 122.3 MB / 362.7 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 () * 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.0001115/1.664, allocations: 114 kB / 0.7654 GB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/1.665, allocations: 11.47 kB / 0.7655 GB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/1.665, allocations: 336.1 kB / 0.7658 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.665, allocations: 1.375 kB / 0.7658 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.665, allocations: 5.312 kB / 0.7658 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.665, allocations: 3.75 kB / 0.7658 GB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.667, allocations: 0.5996 MB / 0.7664 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.667, allocations: 1.219 kB / 0.7664 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/1.667, allocations: 63.09 kB / 0.7664 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/1.667, allocations: 23.09 kB / 0.7665 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/1.667, allocations: 15.58 kB / 0.7665 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000859/1.668, allocations: 1.267 MB / 0.7677 GB, free: 120.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.668, allocations: 1.094 kB / 0.7677 GB, free: 120.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/1.669, allocations: 457 kB / 0.7681 GB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/1.669, allocations: 89.17 kB / 0.7682 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/1.669, allocations: 5.094 kB / 0.7682 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/1.669, allocations: 9.609 kB / 0.7682 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.669, allocations: 30.14 kB / 0.7683 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/1.669, allocations: 25.75 kB / 0.7683 GB, free: 120.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.183e-05/1.669, allocations: 91.77 kB / 0.7684 GB, free: 120.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.669, allocations: 3.375 kB / 0.7684 GB, free: 120.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007036/1.67, allocations: 114.2 kB / 0.7685 GB, free: 120.1 MB / 362.7 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 () * 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.001302/1.671, allocations: 0.5346 MB / 0.769 GB, free: 119.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005905/1.672, allocations: 192.6 kB / 0.7692 GB, free: 119.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.672, allocations: 4 kB / 0.7692 GB, free: 119.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/1.672, allocations: 212.3 kB / 0.7694 GB, free: 119.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/1.673, allocations: 44.94 kB / 0.7694 GB, free: 119.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/1.673, allocations: 324.9 kB / 0.7698 GB, free: 119.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.674, allocations: 0.7126 MB / 0.7705 GB, free: 118.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004367/1.674, allocations: 73.98 kB / 0.7705 GB, free: 118.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.674, allocations: 54.19 kB / 0.7706 GB, free: 118.9 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/1.674, allocations: 0 / 0.7706 GB, free: 118.9 MB / 362.7 MB Notification: Performance of Templates: time 0.02032/1.695, allocations: 12.53 MB / 0.7828 GB, free: 116.9 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)