Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3273/0.3273, allocations: 54.41 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001142/0.001142, allocations: 183.8 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.747/1.747, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001742/0.001742, allocations: 108 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.343e-05, allocations: 224 / 405.5 MB, free: 4.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4324, allocations: 57.65 MB / 463.1 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.935/7.367, allocations: 2.145 GB / 2.597 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004463/7.368, allocations: 75.34 kB / 2.597 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1051/7.473, allocations: 49.75 MB / 2.646 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/7.473, allocations: 0 / 2.646 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.791e-05/7.473, allocations: 8 kB / 2.646 GB, free: 103.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001223/7.474, allocations: 0.5645 MB / 2.646 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/7.474, allocations: 8.031 kB / 2.646 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/7.475, allocations: 143.6 kB / 2.646 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/7.476, allocations: 220.3 kB / 2.647 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/7.476, allocations: 8 kB / 2.647 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/7.476, allocations: 8 kB / 2.647 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004934/7.476, allocations: 316.6 kB / 2.647 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/7.477, allocations: 278.6 kB / 2.647 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/7.477, allocations: 7.938 kB / 2.647 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/7.477, allocations: 4 kB / 2.647 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/7.477, allocations: 20.3 kB / 2.647 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/7.478, allocations: 1.127 MB / 2.648 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/7.478, allocations: 175 kB / 2.648 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/7.479, allocations: 76.95 kB / 2.649 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/7.479, allocations: 356.5 kB / 2.649 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/7.479, allocations: 51.39 kB / 2.649 GB, free: 100 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/7.479, allocations: 0 / 2.649 GB, free: 100 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.0004324/7.479, allocations: 157.5 kB / 2.649 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/7.48, allocations: 55.31 kB / 2.649 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/7.48, allocations: 157.2 kB / 2.649 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/7.48, allocations: 29.64 kB / 2.649 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/7.48, allocations: 151.9 kB / 2.649 GB, free: 99.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/7.48, allocations: 67.05 kB / 2.65 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/7.48, allocations: 4 kB / 2.65 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/7.48, allocations: 322.8 kB / 2.65 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/7.48, allocations: 64.91 kB / 2.65 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/7.48, allocations: 156.5 kB / 2.65 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/7.48, allocations: 93.84 kB / 2.65 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/7.48, allocations: 0 / 2.65 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003671/7.481, allocations: 231.7 kB / 2.65 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/7.481, allocations: 11.94 kB / 2.65 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/7.481, allocations: 6.641 kB / 2.65 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/7.481, allocations: 16 kB / 2.65 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/7.481, allocations: 55.92 kB / 2.65 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/7.481, allocations: 4 kB / 2.65 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/7.481, allocations: 27.67 kB / 2.65 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/7.481, allocations: 15.95 kB / 2.651 GB, free: 98.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/7.481, allocations: 116.9 kB / 2.651 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/7.481, allocations: 15.81 kB / 2.651 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/7.482, allocations: 206.1 kB / 2.651 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/7.482, allocations: 0 / 2.651 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/7.482, allocations: 0 / 2.651 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/7.482, allocations: 3.984 kB / 2.651 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/7.482, allocations: 467.8 kB / 2.651 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/7.482, allocations: 0 / 2.651 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/7.483, allocations: 31.92 kB / 2.651 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/7.483, allocations: 8.031 kB / 2.651 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/7.483, allocations: 0 / 2.651 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/7.483, allocations: 3.953 kB / 2.651 GB, free: 97.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/7.483, allocations: 4 kB / 2.651 GB, free: 97.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/7.483, allocations: 285.5 kB / 2.652 GB, free: 97.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/7.483, allocations: 120.8 kB / 2.652 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/7.483, allocations: 4 kB / 2.652 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/7.483, allocations: 11.92 kB / 2.652 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/7.483, allocations: 15.92 kB / 2.652 GB, free: 97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/7.483, allocations: 12 kB / 2.652 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.206e-05/7.483, allocations: 112.9 kB / 2.652 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.483, allocations: 4 kB / 2.652 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005758/7.484, allocations: 139.8 kB / 2.652 GB, free: 96.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009304/7.485, allocations: 0.7177 MB / 2.653 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002799/7.485, allocations: 168.3 kB / 2.653 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/7.485, allocations: 0 / 2.653 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/7.485, allocations: 75.91 kB / 2.653 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/7.486, allocations: 45.56 kB / 2.653 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/7.486, allocations: 233.6 kB / 2.653 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/7.487, allocations: 0.7326 MB / 2.654 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002654/7.487, allocations: 59.41 kB / 2.654 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/7.487, allocations: 19.44 kB / 2.654 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/7.487, allocations: 0 / 2.654 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.01059/7.497, allocations: 6.886 MB / 2.661 GB, free: 87.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe 2>&1)