Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") [: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.003743/0.003743, allocations: 176.8 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6762/0.6762, allocations: 130.6 MB / 138.5 MB, free: 2.215 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.568/1.568, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009479/0.000948, allocations: 93 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.192e-06, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5401/0.7181, allocations: 137.4 MB / 0.7618 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.7184, allocations: 75.81 kB / 0.7619 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005412/0.7239, allocations: 1.888 MB / 0.7637 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.7239, allocations: 4 kB / 0.7637 GB, free: 9.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004951/0.7244, allocations: 379.3 kB / 0.7641 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7245, allocations: 10.59 kB / 0.7641 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.7245, allocations: 5.281 kB / 0.7641 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.7246, allocations: 171.2 kB / 0.7643 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7247, allocations: 1.438 kB / 0.7643 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.7247, allocations: 1.438 kB / 0.7643 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.7248, allocations: 18.88 kB / 0.7643 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.7249, allocations: 52.94 kB / 0.7643 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7249, allocations: 0 / 0.7643 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7249, allocations: 0 / 0.7643 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.7249, allocations: 1.125 kB / 0.7643 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.7253, allocations: 264 kB / 0.7646 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.7254, allocations: 30.3 kB / 0.7646 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.7255, allocations: 16.3 kB / 0.7646 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.7256, allocations: 97.58 kB / 0.7647 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.7257, allocations: 33.69 kB / 0.7648 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7257, allocations: 0 / 0.7648 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002881/0.726, allocations: 52.91 kB / 0.7648 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.726, allocations: 55.66 kB / 0.7649 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.7261, allocations: 105.6 kB / 0.765 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.7261, allocations: 25.7 kB / 0.765 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.7262, allocations: 96.59 kB / 0.7651 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7262, allocations: 6.125 kB / 0.7651 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.7262, allocations: 0 / 0.7651 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7264, allocations: 318.1 kB / 0.7654 GB, free: 24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.7264, allocations: 6.531 kB / 0.7654 GB, free: 24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.7264, allocations: 14.81 kB / 0.7654 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.306e-05/0.7265, allocations: 6.438 kB / 0.7654 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7265, allocations: 5.875 kB / 0.7654 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/0.7266, allocations: 60.05 kB / 0.7655 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7266, allocations: 5 kB / 0.7655 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7266, allocations: 0 / 0.7655 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7266, allocations: 6.375 kB / 0.7655 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7268, allocations: 23.05 kB / 0.7655 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7268, allocations: 0 / 0.7655 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.503e-05/0.7269, allocations: 18.36 kB / 0.7655 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.7269, allocations: 3.938 kB / 0.7655 GB, free: 23.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.552e-05/0.727, allocations: 111.7 kB / 0.7656 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.727, allocations: 1.656 kB / 0.7656 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.7272, allocations: 68.66 kB / 0.7657 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7272, allocations: 3.984 kB / 0.7657 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7272, allocations: 3.906 kB / 0.7657 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7272, allocations: 0 / 0.7657 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.7274, allocations: 145.2 kB / 0.7658 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7274, allocations: 0 / 0.7658 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.7275, allocations: 27.02 kB / 0.7659 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.7275, allocations: 0 / 0.7659 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.7275, allocations: 3.984 kB / 0.7659 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7275, allocations: 1.5 kB / 0.7659 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7276, allocations: 0 / 0.7659 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001522/0.7277, allocations: 156.5 kB / 0.766 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.7278, allocations: 81.02 kB / 0.7661 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.7278, allocations: 1.375 kB / 0.7661 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.7279, allocations: 22.44 kB / 0.7661 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.728, allocations: 3.188 kB / 0.7661 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.728, allocations: 5.844 kB / 0.7661 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.301e-05/0.728, allocations: 84.31 kB / 0.7662 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000239/0.7283, allocations: 24.2 kB / 0.7662 GB, free: 23.23 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 (3): * Single equations (assignments): 3 * 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.0002522/0.7285, allocations: 139.6 kB / 0.7664 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.7286, allocations: 24.22 kB / 0.7664 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7286, allocations: 0 / 0.7664 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.7287, allocations: 15.22 kB / 0.7664 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.7289, allocations: 16.75 kB / 0.7664 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.7291, allocations: 78.86 kB / 0.7665 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.7294, allocations: 0.6957 MB / 0.7672 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.7294, allocations: 0 / 0.7672 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.003122/0.7326, allocations: 1.03 MB / 0.7682 GB, free: 21.82 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)