Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json 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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009847/0.0009846, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.265/1.265, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 110.7 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07695, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.59/12.67, allocations: 6.53 GB / 6.876 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/12.67, allocations: 84.95 kB / 6.876 GB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.28/14.95, allocations: 0.6659 GB / 7.542 GB, free: 29.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.087e-06/14.95, allocations: 2.219 kB / 7.542 GB, free: 29.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.758e-05/14.95, allocations: 9.875 kB / 7.542 GB, free: 29.24 MB / 442.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.01105/14.96, allocations: 2.444 MB / 7.545 GB, free: 27.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/14.96, allocations: 10.62 kB / 7.545 GB, free: 27.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/14.96, allocations: 85.67 kB / 7.545 GB, free: 27.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/14.96, allocations: 445.4 kB / 7.545 GB, free: 27.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/14.96, allocations: 44.12 kB / 7.545 GB, free: 27.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/14.96, allocations: 61.31 kB / 7.545 GB, free: 27.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/14.97, allocations: 0.718 MB / 7.546 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/14.97, allocations: 7.312 kB / 7.546 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/14.97, allocations: 26.16 kB / 7.546 GB, free: 26.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/14.97, allocations: 13.91 kB / 7.546 GB, free: 26.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/14.97, allocations: 0.8793 MB / 7.547 GB, free: 26.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/14.98, allocations: 12.65 MB / 7.559 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/14.98, allocations: 0.8852 MB / 7.56 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2691/15.25, allocations: 30.11 MB / 7.59 GB, free: 18.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/15.25, allocations: 47.03 kB / 7.59 GB, free: 18.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/15.25, allocations: 3.156 kB / 7.59 GB, free: 18.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.00946/15.26, allocations: 3.375 MB / 7.593 GB, free: 17.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/15.26, allocations: 68.59 kB / 7.593 GB, free: 17.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/15.26, allocations: 318.7 kB / 7.593 GB, free: 17.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/15.26, allocations: 48.36 kB / 7.593 GB, free: 17.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/15.26, allocations: 235.6 kB / 7.594 GB, free: 17.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/15.26, allocations: 304.8 kB / 7.594 GB, free: 17.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/15.26, allocations: 19.86 kB / 7.594 GB, free: 17.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/15.26, allocations: 368.6 kB / 7.594 GB, free: 16.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/15.26, allocations: 334.4 kB / 7.595 GB, free: 16.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/15.27, allocations: 446.2 kB / 7.595 GB, free: 16.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/15.27, allocations: 398.6 kB / 7.595 GB, free: 16.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/15.27, allocations: 3.438 kB / 7.595 GB, free: 16.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002021/15.27, allocations: 1.032 MB / 7.596 GB, free: 16.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/15.27, allocations: 12.62 kB / 7.596 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/15.27, allocations: 2.281 kB / 7.596 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/15.27, allocations: 174.5 kB / 7.597 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/15.27, allocations: 187.1 kB / 7.597 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/15.27, allocations: 3.93 MB / 7.601 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/15.27, allocations: 59.67 kB / 7.601 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/15.27, allocations: 44.72 kB / 7.601 GB, free: 12.99 MB / 442.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 () * Number of clocked 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.0003256/15.27, allocations: 235.4 kB / 7.601 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/15.27, allocations: 66.41 kB / 7.601 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/15.27, allocations: 1.113 MB / 7.602 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/15.27, allocations: 10.28 kB / 7.602 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/15.27, allocations: 2 kB / 7.602 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/15.28, allocations: 1.339 MB / 7.603 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/15.28, allocations: 2.075 MB / 7.605 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/15.28, allocations: 4.719 kB / 7.605 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/15.28, allocations: 188.1 kB / 7.606 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/15.28, allocations: 297.6 kB / 7.606 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/15.28, allocations: 36.31 kB / 7.606 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/15.28, allocations: 1.294 MB / 7.607 GB, free: 26.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/15.28, allocations: 3.969 kB / 7.607 GB, free: 26.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/15.29, allocations: 1.517 MB / 7.609 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/15.29, allocations: 141.5 kB / 7.609 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/15.29, allocations: 25.34 kB / 7.609 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/15.29, allocations: 57.47 kB / 7.609 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/15.29, allocations: 62.89 kB / 7.609 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/15.29, allocations: 48.48 kB / 7.609 GB, free: 26.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002577/15.29, allocations: 268.6 kB / 7.609 GB, free: 25.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/15.29, allocations: 0 / 7.609 GB, free: 25.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008858/15.3, allocations: 2.29 MB / 7.611 GB, free: 25.97 MB / 458.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 () * Number of clocked 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.01358/15.31, allocations: 3.382 MB / 7.615 GB, free: 25.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/15.31, allocations: 1.147 MB / 7.616 GB, free: 25.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/15.31, allocations: 0.75 kB / 7.616 GB, free: 25.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009024/15.31, allocations: 0.5104 MB / 7.616 GB, free: 25.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/15.31, allocations: 396.2 kB / 7.617 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/15.32, allocations: 2.07 MB / 7.619 GB, free: 24.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/15.32, allocations: 0.9416 MB / 7.62 GB, free: 24.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008606/15.32, allocations: 193.7 kB / 7.62 GB, free: 24.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/15.32, allocations: 81.59 kB / 7.62 GB, free: 24 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/15.32, allocations: 1.406 kB / 7.62 GB, free: 24 MB / 458.7 MB Notification: Performance of Templates: time 0.08479/15.4, allocations: 77 MB / 7.695 GB, free: 17.13 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)