Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [: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 4.0.0+maint.om/package.mo): time 0.002563/0.002563, allocations: 180.4 kB / 7.455 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6556/0.6556, allocations: 130.6 MB / 138.5 MB, free: 2.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.3 MB / 391.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 100.5 kB / 473.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.785e-06, allocations: 0 / 0.5479 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 81.58 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.7017, allocations: 112.5 MB / 0.7375 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.702, allocations: 77.83 kB / 0.7375 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.00954/0.7116, allocations: 3.167 MB / 0.7406 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.7117, allocations: 4 kB / 0.7406 GB, free: 11.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00057/0.7122, allocations: 400.5 kB / 0.741 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7123, allocations: 7.719 kB / 0.741 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.7125, allocations: 30.84 kB / 0.7411 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.7128, allocations: 197.6 kB / 0.7413 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.7128, allocations: 29.58 kB / 0.7413 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.7129, allocations: 7.719 kB / 0.7413 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001366/0.713, allocations: 48.47 kB / 0.7413 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.7132, allocations: 75.12 kB / 0.7414 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7132, allocations: 3.906 kB / 0.7414 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.7132, allocations: 0 / 0.7414 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7132, allocations: 4 kB / 0.7414 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.7137, allocations: 347 kB / 0.7417 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.7142, allocations: 112.7 kB / 0.7419 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.7142, allocations: 31.11 kB / 0.7419 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.7143, allocations: 7.938 kB / 0.7419 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.7143, allocations: 31.83 kB / 0.7419 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7143, allocations: 0 / 0.7419 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0002043/0.7145, allocations: 77.53 kB / 0.742 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.7146, allocations: 51.41 kB / 0.742 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.7147, allocations: 108.3 kB / 0.7421 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.7147, allocations: 25.7 kB / 0.7422 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.7147, allocations: 97.36 kB / 0.7423 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.7148, allocations: 24.89 kB / 0.7423 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.7148, allocations: 4.781 kB / 0.7423 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7149, allocations: 316.4 kB / 0.7426 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.715, allocations: 14.41 kB / 0.7426 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.715, allocations: 36.14 kB / 0.7426 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.7151, allocations: 25.47 kB / 0.7427 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7151, allocations: 0 / 0.7427 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001204/0.7152, allocations: 82.44 kB / 0.7427 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7152, allocations: 3.781 kB / 0.7427 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7152, allocations: 0 / 0.7427 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7152, allocations: 7.75 kB / 0.7428 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.7154, allocations: 24.69 kB / 0.7428 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7154, allocations: 3.938 kB / 0.7428 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.7155, allocations: 16.72 kB / 0.7428 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7155, allocations: 5.609 kB / 0.7428 GB, free: 25.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.7156, allocations: 101 kB / 0.7429 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.7156, allocations: 7.656 kB / 0.7429 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.7157, allocations: 9.266 kB / 0.7429 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7157, allocations: 7.75 kB / 0.7429 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7157, allocations: 0 / 0.7429 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7157, allocations: 0 / 0.7429 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.7159, allocations: 178.8 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7159, allocations: 0 / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.716, allocations: 21.91 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.716, allocations: 0.7031 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.716, allocations: 3.906 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.716, allocations: 3.906 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.716, allocations: 0.6094 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001498/0.7162, allocations: 172.2 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.7162, allocations: 85.64 kB / 0.7434 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7163, allocations: 0 / 0.7434 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.7164, allocations: 16.3 kB / 0.7434 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.7165, allocations: 9.969 kB / 0.7434 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.7165, allocations: 4.641 kB / 0.7434 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.099e-05/0.7166, allocations: 95.7 kB / 0.7435 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002237/0.7168, allocations: 19.34 kB / 0.7435 GB, free: 24.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.7169, allocations: 95.2 kB / 0.7436 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.717, allocations: 48.7 kB / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7171, allocations: 0 / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.7171, allocations: 27.36 kB / 0.7437 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.7174, allocations: 22.73 kB / 0.7437 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.7177, allocations: 125.2 kB / 0.7438 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.718, allocations: 0.7163 MB / 0.7445 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.718, allocations: 4 kB / 0.7445 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.003622/0.7217, allocations: 1.309 MB / 0.7458 GB, free: 23.89 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)