Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001335/0.001335, allocations: 170.9 kB / 7.644 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.249/1.249, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001707/0.001707, allocations: 104.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.654e-05, allocations: 4 kB / 262.2 MB, free: 26.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09147, allocations: 38.78 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.706, allocations: 0.6301 GB / 0.924 GB, free: 68.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.707, allocations: 75.95 kB / 0.9241 GB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319/3.026, allocations: 461.2 MB / 1.375 GB, free: 17.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/3.026, allocations: 0 / 1.375 GB, free: 17.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/3.026, allocations: 8 kB / 1.375 GB, free: 17.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001534/3.027, allocations: 0.7058 MB / 1.375 GB, free: 17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/3.027, allocations: 12.03 kB / 1.375 GB, free: 16.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/3.028, allocations: 51.61 kB / 1.375 GB, free: 16.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/3.028, allocations: 277.8 kB / 1.376 GB, free: 16.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/3.028, allocations: 17.81 kB / 1.376 GB, free: 16.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/3.028, allocations: 23.94 kB / 1.376 GB, free: 16.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003262/3.029, allocations: 181 kB / 1.376 GB, free: 16.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/3.029, allocations: 285.4 kB / 1.376 GB, free: 16.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/3.029, allocations: 4 kB / 1.376 GB, free: 16.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/3.029, allocations: 0 / 1.376 GB, free: 16.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/3.029, allocations: 8 kB / 1.376 GB, free: 16.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009667/3.039, allocations: 5.457 MB / 1.381 GB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/3.039, allocations: 163 kB / 1.382 GB, free: 10 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/3.039, allocations: 77.22 kB / 1.382 GB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/3.046, allocations: 3.503 MB / 1.385 GB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/3.046, allocations: 38.7 kB / 1.385 GB, free: 6.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.497e-06/3.047, allocations: 0 / 1.385 GB, free: 6.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.003576/3.05, allocations: 0.9858 MB / 1.386 GB, free: 5.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/3.05, allocations: 55.41 kB / 1.386 GB, free: 4.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/3.05, allocations: 195.1 kB / 1.386 GB, free: 4.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/3.05, allocations: 25.7 kB / 1.386 GB, free: 4.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/3.05, allocations: 188.2 kB / 1.386 GB, free: 4.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/3.051, allocations: 94.64 kB / 1.387 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/3.051, allocations: 0 / 1.387 GB, free: 4.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/3.051, allocations: 338.8 kB / 1.387 GB, free: 4.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/3.051, allocations: 80 kB / 1.387 GB, free: 4.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/3.051, allocations: 167.5 kB / 1.387 GB, free: 3.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/3.052, allocations: 187.8 kB / 1.387 GB, free: 3.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/3.052, allocations: 4 kB / 1.387 GB, free: 3.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001135/3.053, allocations: 426.7 kB / 1.388 GB, free: 3.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/3.053, allocations: 8 kB / 1.388 GB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/3.053, allocations: 11.8 kB / 1.388 GB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/3.053, allocations: 66.06 kB / 1.388 GB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/3.053, allocations: 79.78 kB / 1.388 GB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/3.055, allocations: 1.883 MB / 1.39 GB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/3.055, allocations: 19.95 kB / 1.39 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/3.055, allocations: 16.06 kB / 1.39 GB, free: 1.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001163/3.055, allocations: 112.9 kB / 1.39 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/3.056, allocations: 23.72 kB / 1.39 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/3.056, allocations: 475.3 kB / 1.39 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/3.056, allocations: 8 kB / 1.39 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/3.056, allocations: 0 / 1.39 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2256/3.282, allocations: 0.6955 MB / 1.391 GB, free: 72.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/3.284, allocations: 0.868 MB / 1.392 GB, free: 72.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/3.284, allocations: 1.406 kB / 1.392 GB, free: 72.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/3.284, allocations: 45.16 kB / 1.392 GB, free: 72.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/3.284, allocations: 93.05 kB / 1.392 GB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/3.284, allocations: 6.516 kB / 1.392 GB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005277/3.285, allocations: 0.6734 MB / 1.393 GB, free: 71.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/3.285, allocations: 1.25 kB / 1.393 GB, free: 71.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/3.286, allocations: 0.7029 MB / 1.393 GB, free: 71.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/3.286, allocations: 102.3 kB / 1.393 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/3.286, allocations: 3.969 kB / 1.393 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/3.286, allocations: 16.8 kB / 1.393 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/3.286, allocations: 23.23 kB / 1.393 GB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/3.286, allocations: 10.47 kB / 1.393 GB, free: 71.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001534/3.287, allocations: 152.5 kB / 1.394 GB, free: 71.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/3.287, allocations: 0 / 1.394 GB, free: 71.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001108/3.288, allocations: 197.5 kB / 1.394 GB, free: 71.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/3.289, allocations: 496.7 kB / 1.394 GB, free: 71.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007831/3.29, allocations: 420.6 kB / 1.395 GB, free: 71.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/3.29, allocations: 0 / 1.395 GB, free: 71.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/3.29, allocations: 208.4 kB / 1.395 GB, free: 71.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/3.291, allocations: 127.1 kB / 1.395 GB, free: 71.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/3.292, allocations: 0.5504 MB / 1.396 GB, free: 70.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/3.292, allocations: 0.7838 MB / 1.396 GB, free: 70.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002124/3.293, allocations: 44.81 kB / 1.396 GB, free: 70.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/3.293, allocations: 30.28 kB / 1.396 GB, free: 70.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/3.293, allocations: 0 / 1.396 GB, free: 70.25 MB / 346.7 MB Notification: Performance of Templates: time 0.01639/3.309, allocations: 8.965 MB / 1.405 GB, free: 70.04 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)