Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0023/0.0023, allocations: 169.7 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.595/1.595, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001712/0.001712, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.188e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09651, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.79/16.88, allocations: 6.523 GB / 6.824 GB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/16.89, allocations: 84.45 kB / 6.824 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.022/19.91, allocations: 0.6638 GB / 7.488 GB, free: 17.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/19.91, allocations: 0 / 7.488 GB, free: 17.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/19.91, allocations: 18.64 kB / 7.488 GB, free: 17.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01153/19.92, allocations: 2.398 MB / 7.49 GB, free: 16.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/19.92, allocations: 12.38 kB / 7.49 GB, free: 16.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006611/19.92, allocations: 81.25 kB / 7.49 GB, free: 16.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/19.92, allocations: 440.5 kB / 7.491 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/19.92, allocations: 50.08 kB / 7.491 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/19.92, allocations: 65.69 kB / 7.491 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/19.92, allocations: 0.6951 MB / 7.491 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/19.92, allocations: 0 / 7.491 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/19.92, allocations: 28.94 kB / 7.491 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/19.92, allocations: 17.06 kB / 7.491 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/19.92, allocations: 0.8652 MB / 7.492 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/19.94, allocations: 12.4 MB / 7.504 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/19.94, allocations: 0.8806 MB / 7.505 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/19.94, allocations: 415.8 kB / 7.506 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03796/19.98, allocations: 30.21 MB / 7.535 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/19.98, allocations: 42.69 kB / 7.535 GB, free: 5.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/19.98, allocations: 2.906 kB / 7.535 GB, free: 5.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.01061/19.99, allocations: 2.927 MB / 7.538 GB, free: 4.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/19.99, allocations: 67.91 kB / 7.538 GB, free: 4.484 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/19.99, allocations: 319.2 kB / 7.538 GB, free: 4.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/19.99, allocations: 44.83 kB / 7.538 GB, free: 4.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/19.99, allocations: 236.2 kB / 7.539 GB, free: 4.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/19.99, allocations: 311.2 kB / 7.539 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/19.99, allocations: 15.53 kB / 7.539 GB, free: 3.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/19.99, allocations: 363 kB / 7.539 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/19.99, allocations: 326.3 kB / 7.54 GB, free: 3.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/19.99, allocations: 439.1 kB / 7.54 GB, free: 3.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/20, allocations: 391 kB / 7.54 GB, free: 3.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/20, allocations: 0 / 7.54 GB, free: 3.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002393/20, allocations: 1.012 MB / 7.541 GB, free: 2.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/20, allocations: 7.453 kB / 7.541 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/20, allocations: 6.469 kB / 7.541 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/20, allocations: 174 kB / 7.542 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/20, allocations: 187.2 kB / 7.542 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3201/20.32, allocations: 3.905 MB / 7.546 GB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/20.32, allocations: 59 kB / 7.546 GB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/20.32, allocations: 45.86 kB / 7.546 GB, free: 49.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000311/20.32, allocations: 158.7 kB / 7.546 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/20.32, allocations: 62.3 kB / 7.546 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/20.32, allocations: 1.1 MB / 7.547 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/20.32, allocations: 10.06 kB / 7.547 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/20.32, allocations: 4.891 kB / 7.547 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/20.33, allocations: 1.324 MB / 7.548 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/20.33, allocations: 2.062 MB / 7.55 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/20.33, allocations: 3.812 kB / 7.55 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/20.33, allocations: 186.7 kB / 7.55 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/20.33, allocations: 307.1 kB / 7.551 GB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/20.33, allocations: 30.12 kB / 7.551 GB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005607/20.33, allocations: 1.298 MB / 7.552 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/20.33, allocations: 2.938 kB / 7.552 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/20.34, allocations: 1.483 MB / 7.554 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/20.34, allocations: 135 kB / 7.554 GB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/20.34, allocations: 30.22 kB / 7.554 GB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/20.34, allocations: 56.09 kB / 7.554 GB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/20.34, allocations: 60.73 kB / 7.554 GB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/20.34, allocations: 54.02 kB / 7.554 GB, free: 47.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003448/20.34, allocations: 264.6 kB / 7.554 GB, free: 47.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/20.34, allocations: 0 / 7.554 GB, free: 47.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01082/20.35, allocations: 2.292 MB / 7.556 GB, free: 47.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01651/20.37, allocations: 3.39 MB / 7.56 GB, free: 46.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/20.37, allocations: 1.117 MB / 7.561 GB, free: 46.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/20.37, allocations: 0 / 7.561 GB, free: 46.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/20.37, allocations: 0.5015 MB / 7.561 GB, free: 46.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/20.37, allocations: 398.5 kB / 7.562 GB, free: 46.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/20.37, allocations: 1.426 MB / 7.563 GB, free: 46.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/20.37, allocations: 0.9445 MB / 7.564 GB, free: 45.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009766/20.37, allocations: 189.4 kB / 7.564 GB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/20.38, allocations: 80.98 kB / 7.564 GB, free: 45.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.963e-06/20.38, allocations: 0 / 7.564 GB, free: 45.53 MB / 410.7 MB Notification: Performance of Templates: time 0.09979/20.48, allocations: 79.98 MB / 7.642 GB, free: 38.53 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)