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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005344/0.005344, allocations: 173.5 kB / 7.448 MB, free: 2.504 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.503/1.503, allocations: 170.6 MB / 178.4 MB, free: 15.78 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.001847/0.001847, allocations: 112.6 kB / 217.7 MB, free: 8.559 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.978e-06, allocations: 0 / 261.7 MB, free: 26.71 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 38.76 MB / 300.5 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.69/15.79, allocations: 6.523 GB / 6.816 GB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/15.79, allocations: 71.95 kB / 6.816 GB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.102/18.9, allocations: 0.6627 GB / 7.479 GB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.008e-05/18.9, allocations: 17.72 kB / 7.479 GB, free: 14.23 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.01492/18.91, allocations: 2.404 MB / 7.481 GB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/18.91, allocations: 8.625 kB / 7.481 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/18.91, allocations: 84.44 kB / 7.481 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/18.91, allocations: 445 kB / 7.482 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/18.91, allocations: 19.28 kB / 7.482 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/18.91, allocations: 40.31 kB / 7.482 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001775/18.92, allocations: 0.8029 MB / 7.483 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/18.92, allocations: 0.5837 MB / 7.483 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/18.92, allocations: 3.562 kB / 7.483 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/18.92, allocations: 0 / 7.483 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/18.92, allocations: 14.66 kB / 7.483 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/18.94, allocations: 12.3 MB / 7.495 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/18.94, allocations: 448.1 kB / 7.496 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/18.94, allocations: 390.8 kB / 7.496 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2941/19.23, allocations: 30.27 MB / 7.526 GB, free: 39.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/19.23, allocations: 41.06 kB / 7.526 GB, free: 39.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 5.65e-06/19.23, allocations: 0 / 7.526 GB, free: 39.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.007624/19.24, allocations: 2.365 MB / 7.528 GB, free: 39.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/19.24, allocations: 59.59 kB / 7.528 GB, free: 39.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/19.24, allocations: 258.6 kB / 7.528 GB, free: 39.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/19.24, allocations: 31.89 kB / 7.528 GB, free: 39.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/19.24, allocations: 215.4 kB / 7.528 GB, free: 39.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/19.24, allocations: 298.2 kB / 7.529 GB, free: 39.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/19.24, allocations: 0 / 7.529 GB, free: 39.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/19.24, allocations: 356.2 kB / 7.529 GB, free: 38.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/19.24, allocations: 315.2 kB / 7.529 GB, free: 38.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/19.24, allocations: 422.5 kB / 7.53 GB, free: 38.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/19.24, allocations: 0.5017 MB / 7.53 GB, free: 38.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/19.24, allocations: 3.75 kB / 7.53 GB, free: 38.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002556/19.24, allocations: 1.092 MB / 7.531 GB, free: 38.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/19.24, allocations: 6.906 kB / 7.531 GB, free: 38.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/19.24, allocations: 10.03 kB / 7.531 GB, free: 38.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/19.25, allocations: 111 kB / 7.531 GB, free: 38.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/19.25, allocations: 190.4 kB / 7.532 GB, free: 38.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/19.25, allocations: 3.863 MB / 7.535 GB, free: 34.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/19.25, allocations: 51.12 kB / 7.536 GB, free: 34.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.857e-05/19.25, allocations: 39.78 kB / 7.536 GB, free: 34.91 MB / 394.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 (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.0003637/19.25, allocations: 129 kB / 7.536 GB, free: 34.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/19.25, allocations: 58.41 kB / 7.536 GB, free: 34.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/19.25, allocations: 1.165 MB / 7.537 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/19.25, allocations: 11.53 kB / 7.537 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/19.25, allocations: 0 / 7.537 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002066/19.26, allocations: 1.381 MB / 7.538 GB, free: 34.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/19.26, allocations: 2.041 MB / 7.54 GB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/19.26, allocations: 9.5 kB / 7.54 GB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/19.26, allocations: 191.5 kB / 7.54 GB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/19.26, allocations: 134.6 kB / 7.541 GB, free: 33.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/19.26, allocations: 18.44 kB / 7.541 GB, free: 33.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/19.26, allocations: 1.373 MB / 7.542 GB, free: 32.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/19.26, allocations: 8.156 kB / 7.542 GB, free: 32.44 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003445/19.27, allocations: 1.595 MB / 7.543 GB, free: 32.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/19.27, allocations: 133.7 kB / 7.544 GB, free: 31.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/19.27, allocations: 8.75 kB / 7.544 GB, free: 31.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/19.27, allocations: 41.84 kB / 7.544 GB, free: 31.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/19.27, allocations: 65.94 kB / 7.544 GB, free: 31.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/19.27, allocations: 52.38 kB / 7.544 GB, free: 31.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003018/19.27, allocations: 210.5 kB / 7.544 GB, free: 31.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01534/19.28, allocations: 2.244 MB / 7.546 GB, free: 31.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.02033/19.3, allocations: 3.604 MB / 7.55 GB, free: 31.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/19.31, allocations: 1.073 MB / 7.551 GB, free: 31.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/19.31, allocations: 6.75 kB / 7.551 GB, free: 31.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007989/19.31, allocations: 497.1 kB / 7.551 GB, free: 31.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/19.31, allocations: 315.2 kB / 7.551 GB, free: 31.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/19.31, allocations: 1.431 MB / 7.553 GB, free: 31.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/19.31, allocations: 1.039 MB / 7.554 GB, free: 30.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/19.31, allocations: 0 / 7.554 GB, free: 30.35 MB / 394.7 MB Notification: Performance of Templates: time 0.1151/19.43, allocations: 75.65 MB / 7.628 GB, free: 24.22 MB / 394.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)