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.001167/0.001167, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.736/1.736, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001815/0.001815, allocations: 117.5 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.69/16.79, allocations: 6.529 GB / 6.863 GB, free: 90.43 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/16.79, allocations: 73.11 kB / 6.864 GB, free: 90.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.817/19.61, allocations: 0.6584 GB / 7.522 GB, free: 26.12 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.984e-06/19.61, allocations: 0 / 7.522 GB, free: 26.12 MB / 427.1 MB Notification: Performance of Transformations before backend: time 6.243e-05/19.61, allocations: 14 kB / 7.522 GB, free: 26.12 MB / 427.1 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.01369/19.62, allocations: 2.394 MB / 7.524 GB, free: 24.76 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/19.62, allocations: 11.36 kB / 7.524 GB, free: 24.76 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/19.62, allocations: 84.97 kB / 7.524 GB, free: 24.72 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/19.63, allocations: 437.1 kB / 7.525 GB, free: 24.48 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/19.63, allocations: 18.66 kB / 7.525 GB, free: 24.48 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/19.63, allocations: 40.25 kB / 7.525 GB, free: 24.48 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001519/19.63, allocations: 0.8016 MB / 7.526 GB, free: 24.47 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/19.63, allocations: 0.568 MB / 7.526 GB, free: 24.43 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/19.63, allocations: 7.062 kB / 7.526 GB, free: 24.42 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/19.63, allocations: 0 / 7.526 GB, free: 24.42 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/19.63, allocations: 16.16 kB / 7.526 GB, free: 24.42 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/19.64, allocations: 12.54 MB / 7.538 GB, free: 13.09 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/19.65, allocations: 0.8115 MB / 7.539 GB, free: 12.87 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/19.65, allocations: 386.5 kB / 7.54 GB, free: 12.86 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04253/19.69, allocations: 30.2 MB / 7.569 GB, free: 14.45 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.995e-05/19.69, allocations: 46.12 kB / 7.569 GB, free: 14.41 MB / 459.1 MB Notification: Performance of pre-optimization done (n=78): time 4.468e-06/19.69, allocations: 0 / 7.569 GB, free: 14.41 MB / 459.1 MB Notification: Performance of matching and sorting (n=88): time 0.008522/19.7, allocations: 2.342 MB / 7.571 GB, free: 13.94 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/19.7, allocations: 62 kB / 7.571 GB, free: 13.88 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/19.7, allocations: 260.6 kB / 7.572 GB, free: 13.78 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/19.7, allocations: 25.7 kB / 7.572 GB, free: 13.75 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/19.7, allocations: 244.1 kB / 7.572 GB, free: 13.58 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/19.7, allocations: 297.2 kB / 7.572 GB, free: 13.39 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/19.7, allocations: 0 / 7.572 GB, free: 13.39 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/19.7, allocations: 358.8 kB / 7.573 GB, free: 13.07 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/19.7, allocations: 308.6 kB / 7.573 GB, free: 13.07 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/19.7, allocations: 409.9 kB / 7.573 GB, free: 12.98 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/19.7, allocations: 496.6 kB / 7.574 GB, free: 12.97 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/19.7, allocations: 3.094 kB / 7.574 GB, free: 12.97 MB / 459.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002675/19.7, allocations: 1.07 MB / 7.575 GB, free: 12.84 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/19.7, allocations: 7.688 kB / 7.575 GB, free: 12.84 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/19.7, allocations: 0 / 7.575 GB, free: 12.84 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/19.71, allocations: 111.7 kB / 7.575 GB, free: 12.81 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/19.71, allocations: 192.2 kB / 7.575 GB, free: 12.8 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/19.71, allocations: 3.861 MB / 7.579 GB, free: 9.238 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/19.71, allocations: 48.58 kB / 7.579 GB, free: 9.23 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/19.71, allocations: 46.3 kB / 7.579 GB, free: 9.23 MB / 459.1 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 (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.0004432/19.71, allocations: 126 kB / 7.579 GB, free: 9.113 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/19.71, allocations: 56.03 kB / 7.579 GB, free: 9.09 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/19.71, allocations: 1.124 MB / 7.58 GB, free: 8.957 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/19.71, allocations: 13.03 kB / 7.58 GB, free: 8.957 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/19.71, allocations: 2.344 kB / 7.58 GB, free: 8.957 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002381/19.72, allocations: 1.373 MB / 7.582 GB, free: 8.277 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/19.72, allocations: 1.997 MB / 7.584 GB, free: 7.902 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/19.72, allocations: 0 / 7.584 GB, free: 7.902 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/19.72, allocations: 188.7 kB / 7.584 GB, free: 7.895 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/19.72, allocations: 138.7 kB / 7.584 GB, free: 7.867 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/19.72, allocations: 16.22 kB / 7.584 GB, free: 7.867 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/19.72, allocations: 1.354 MB / 7.585 GB, free: 22.69 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/19.72, allocations: 0 / 7.585 GB, free: 22.69 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/19.73, allocations: 1.513 MB / 7.587 GB, free: 22.38 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/19.73, allocations: 133.7 kB / 7.587 GB, free: 22.25 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/19.73, allocations: 11.02 kB / 7.587 GB, free: 22.25 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/19.73, allocations: 38.27 kB / 7.587 GB, free: 22.25 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/19.73, allocations: 64.66 kB / 7.587 GB, free: 22.25 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/19.73, allocations: 49.67 kB / 7.587 GB, free: 22.25 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002848/19.73, allocations: 207.9 kB / 7.587 GB, free: 22.16 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.312e-06/19.73, allocations: 2.25 kB / 7.587 GB, free: 22.16 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0143/19.74, allocations: 2.238 MB / 7.589 GB, free: 21.7 MB / 475.1 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.01983/19.76, allocations: 3.506 MB / 7.593 GB, free: 21.03 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/19.76, allocations: 1.061 MB / 7.594 GB, free: 20.77 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/19.76, allocations: 3.938 kB / 7.594 GB, free: 20.77 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008988/19.77, allocations: 473 kB / 7.594 GB, free: 20.73 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/19.77, allocations: 332.5 kB / 7.595 GB, free: 20.71 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/19.77, allocations: 1.369 MB / 7.596 GB, free: 20.38 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/19.77, allocations: 0.9364 MB / 7.597 GB, free: 19.68 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001144/19.77, allocations: 187.6 kB / 7.597 GB, free: 19.66 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/19.77, allocations: 75.48 kB / 7.597 GB, free: 19.66 MB / 475.1 MB Notification: Performance of SimCode: time 3.156e-06/19.77, allocations: 0 / 7.597 GB, free: 19.66 MB / 475.1 MB Notification: Performance of Templates: time 0.4172/20.19, allocations: 70.27 MB / 7.666 GB, free: 71.71 MB / 475.1 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)