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.00167/0.00167, allocations: 170.5 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.617/1.617, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001656/0.001656, allocations: 107.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.232e-05, allocations: 7.984 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09149, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.813/1.905, allocations: 0.6308 GB / 0.9312 GB, free: 125.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.905, allocations: 73.56 kB / 0.9312 GB, free: 125.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409/3.314, allocations: 473 MB / 1.393 GB, free: 81.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.337e-06/3.314, allocations: 0 / 1.393 GB, free: 81.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/3.314, allocations: 3.5 kB / 1.393 GB, free: 81.47 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001502/3.316, allocations: 0.7153 MB / 1.394 GB, free: 80.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/3.316, allocations: 11.53 kB / 1.394 GB, free: 80.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/3.316, allocations: 54.28 kB / 1.394 GB, free: 80.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/3.317, allocations: 285 kB / 1.394 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/3.317, allocations: 22 kB / 1.394 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/3.317, allocations: 29.25 kB / 1.394 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/3.317, allocations: 331.5 kB / 1.395 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/3.317, allocations: 1.641 kB / 1.395 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/3.317, allocations: 13.06 kB / 1.395 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/3.317, allocations: 7.438 kB / 1.395 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/3.318, allocations: 202.2 kB / 1.395 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00997/3.328, allocations: 5.52 MB / 1.4 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/3.328, allocations: 169.9 kB / 1.4 GB, free: 77.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/3.328, allocations: 91.69 kB / 1.4 GB, free: 77.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/3.336, allocations: 3.496 MB / 1.404 GB, free: 75.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/3.336, allocations: 34.09 kB / 1.404 GB, free: 75.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.519e-06/3.336, allocations: 0 / 1.404 GB, free: 75.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.005553/3.341, allocations: 1.262 MB / 1.405 GB, free: 75.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/3.342, allocations: 59.19 kB / 1.405 GB, free: 75.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/3.342, allocations: 236.5 kB / 1.405 GB, free: 75.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/3.342, allocations: 28.45 kB / 1.405 GB, free: 75.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/3.342, allocations: 185.3 kB / 1.406 GB, free: 74.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/3.342, allocations: 93.73 kB / 1.406 GB, free: 74.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/3.342, allocations: 8.75 kB / 1.406 GB, free: 74.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/3.342, allocations: 340 kB / 1.406 GB, free: 74.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/3.342, allocations: 89.52 kB / 1.406 GB, free: 74.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/3.342, allocations: 186.1 kB / 1.406 GB, free: 74.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/3.343, allocations: 118.2 kB / 1.406 GB, free: 74.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/3.343, allocations: 5.156 kB / 1.406 GB, free: 74.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000661/3.343, allocations: 389.6 kB / 1.407 GB, free: 74.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/3.343, allocations: 3.938 kB / 1.407 GB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/3.343, allocations: 5.688 kB / 1.407 GB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/3.348, allocations: 453.2 kB / 1.407 GB, free: 74.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/3.348, allocations: 72.94 kB / 1.407 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/3.349, allocations: 1.876 MB / 1.409 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/3.35, allocations: 25.67 kB / 1.409 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/3.35, allocations: 14 kB / 1.409 GB, free: 72.56 MB / 362.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.000143/3.35, allocations: 126.6 kB / 1.409 GB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/3.35, allocations: 31.08 kB / 1.409 GB, free: 72.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008487/3.351, allocations: 493.4 kB / 1.41 GB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/3.351, allocations: 6.531 kB / 1.41 GB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/3.351, allocations: 4 kB / 1.41 GB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005733/3.351, allocations: 0.7199 MB / 1.41 GB, free: 71.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/3.353, allocations: 0.929 MB / 1.411 GB, free: 71.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/3.353, allocations: 0 / 1.411 GB, free: 71.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/3.353, allocations: 47.86 kB / 1.411 GB, free: 71.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/3.354, allocations: 301.9 kB / 1.412 GB, free: 71.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/3.354, allocations: 3.188 kB / 1.412 GB, free: 71.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004006/3.355, allocations: 0.6486 MB / 1.412 GB, free: 71.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.355, allocations: 0 / 1.412 GB, free: 71.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/3.356, allocations: 0.7181 MB / 1.413 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/3.356, allocations: 115.9 kB / 1.413 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/3.356, allocations: 7.562 kB / 1.413 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/3.356, allocations: 14.48 kB / 1.413 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/3.356, allocations: 14.45 kB / 1.413 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/3.356, allocations: 11.05 kB / 1.413 GB, free: 70.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001995/3.356, allocations: 188.2 kB / 1.413 GB, free: 70.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.356, allocations: 0 / 1.413 GB, free: 70.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001272/3.358, allocations: 215.3 kB / 1.414 GB, free: 70.58 MB / 362.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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/3.359, allocations: 480.8 kB / 1.414 GB, free: 70.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008323/3.36, allocations: 435.8 kB / 1.414 GB, free: 70.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/3.36, allocations: 0 / 1.414 GB, free: 70.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/3.361, allocations: 244.5 kB / 1.415 GB, free: 70.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/3.361, allocations: 156.1 kB / 1.415 GB, free: 70.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/3.363, allocations: 0.5777 MB / 1.415 GB, free: 70.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/3.363, allocations: 0.7817 MB / 1.416 GB, free: 69.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/3.363, allocations: 50.66 kB / 1.416 GB, free: 69.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/3.363, allocations: 30.5 kB / 1.416 GB, free: 69.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/3.363, allocations: 0 / 1.416 GB, free: 69.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01948/3.383, allocations: 11.24 MB / 1.427 GB, free: 63.79 MB / 362.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)