Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00185/0.00185, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.501/1.501, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001768/0.001768, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.046e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09097, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.55/17.64, allocations: 6.523 GB / 6.817 GB, free: 53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/17.64, allocations: 76.83 kB / 6.817 GB, free: 52.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.222/20.87, allocations: 0.8238 GB / 7.641 GB, free: 21.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.286e-06/20.87, allocations: 0 / 7.641 GB, free: 21.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.213e-05/20.87, allocations: 17.2 kB / 7.641 GB, free: 21.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01698/20.88, allocations: 2.89 MB / 7.643 GB, free: 20.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/20.88, allocations: 10.09 kB / 7.643 GB, free: 20.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/20.88, allocations: 54.72 kB / 7.644 GB, free: 20.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/20.88, allocations: 362 kB / 7.644 GB, free: 20.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/20.88, allocations: 17.97 kB / 7.644 GB, free: 20.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/20.89, allocations: 28.09 kB / 7.644 GB, free: 20.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/20.89, allocations: 0.5787 MB / 7.645 GB, free: 20.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/20.89, allocations: 423.9 kB / 7.645 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/20.89, allocations: 3.688 kB / 7.645 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/20.89, allocations: 3 kB / 7.645 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/20.89, allocations: 9.312 kB / 7.645 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/20.9, allocations: 11.6 MB / 7.656 GB, free: 25.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/20.9, allocations: 0.6068 MB / 7.657 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/20.9, allocations: 234.9 kB / 7.657 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0246/20.93, allocations: 20.14 MB / 7.677 GB, free: 20.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/20.93, allocations: 45.09 kB / 7.677 GB, free: 20.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.106e-06/20.93, allocations: 0 / 7.677 GB, free: 20.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.00475/20.93, allocations: 1.502 MB / 7.678 GB, free: 20.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/20.93, allocations: 55.62 kB / 7.678 GB, free: 20.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/20.93, allocations: 230.9 kB / 7.679 GB, free: 19.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/20.93, allocations: 29.67 kB / 7.679 GB, free: 19.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/20.93, allocations: 208.4 kB / 7.679 GB, free: 19.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/20.93, allocations: 178.3 kB / 7.679 GB, free: 19.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/20.93, allocations: 0 / 7.679 GB, free: 19.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/20.93, allocations: 346.6 kB / 7.679 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/20.93, allocations: 197.2 kB / 7.679 GB, free: 19.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/20.93, allocations: 285.8 kB / 7.68 GB, free: 19.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/20.93, allocations: 327.8 kB / 7.68 GB, free: 19.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/20.93, allocations: 3.781 kB / 7.68 GB, free: 19.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001771/20.94, allocations: 0.7186 MB / 7.681 GB, free: 19.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/20.94, allocations: 6.938 kB / 7.681 GB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/20.94, allocations: 2.688 kB / 7.681 GB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/20.94, allocations: 86.53 kB / 7.681 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/20.94, allocations: 121.6 kB / 7.681 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/20.94, allocations: 3.197 MB / 7.684 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/20.94, allocations: 28.5 kB / 7.684 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/20.94, allocations: 33.78 kB / 7.684 GB, free: 16.07 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0002709/20.94, allocations: 123 kB / 7.684 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/20.94, allocations: 37.06 kB / 7.684 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/20.94, allocations: 0.7194 MB / 7.685 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/20.94, allocations: 9.969 kB / 7.685 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/20.94, allocations: 0 / 7.685 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/20.94, allocations: 0.7977 MB / 7.686 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/20.95, allocations: 1.351 MB / 7.687 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/20.95, allocations: 0 / 7.687 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/20.95, allocations: 110.8 kB / 7.687 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/20.95, allocations: 72.12 kB / 7.687 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/20.95, allocations: 13.02 kB / 7.687 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/20.95, allocations: 0.6768 MB / 7.688 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/20.95, allocations: 7.891 kB / 7.688 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/20.95, allocations: 1.001 MB / 7.689 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/20.95, allocations: 124.5 kB / 7.689 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/20.95, allocations: 7.812 kB / 7.689 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/20.95, allocations: 20.83 kB / 7.689 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/20.95, allocations: 40.02 kB / 7.689 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/20.95, allocations: 38.95 kB / 7.689 GB, free: 14.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002228/20.95, allocations: 189.8 kB / 7.689 GB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/20.95, allocations: 0 / 7.689 GB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009513/20.96, allocations: 1.927 MB / 7.691 GB, free: 13.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0134/20.97, allocations: 3.211 MB / 7.694 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/20.98, allocations: 0.7439 MB / 7.695 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/20.98, allocations: 0 / 7.695 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/20.98, allocations: 289.7 kB / 7.695 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/20.98, allocations: 229.1 kB / 7.696 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/20.98, allocations: 0.8522 MB / 7.696 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/20.98, allocations: 0.8566 MB / 7.697 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005948/20.98, allocations: 119 kB / 7.697 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/20.98, allocations: 59.55 kB / 7.697 GB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/20.98, allocations: 0 / 7.697 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.3627/21.34, allocations: 58.73 MB / 7.755 GB, free: 52.35 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)