Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.001174/0.001174, allocations: 187.2 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4476/0.4476, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009021/0.0009022, allocations: 97.02 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.787e-06, allocations: 4 kB / 493.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3159, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4495, allocations: 127.3 MB / 0.6773 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4498, allocations: 75.95 kB / 0.6773 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.00361/0.4534, allocations: 1.34 MB / 0.6786 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4534, allocations: 0 / 0.6786 GB, free: 13.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000277/0.4537, allocations: 327.1 kB / 0.6789 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4538, allocations: 8.031 kB / 0.679 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.4538, allocations: 0.5312 kB / 0.679 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.454, allocations: 176 kB / 0.6791 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.4541, allocations: 29.83 kB / 0.6792 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4541, allocations: 8.469 kB / 0.6792 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.743e-05/0.4541, allocations: 8 kB / 0.6792 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.955e-05/0.4542, allocations: 34.44 kB / 0.6792 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4542, allocations: 0.75 kB / 0.6792 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.4542, allocations: 3.938 kB / 0.6792 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4543, allocations: 0.75 kB / 0.6792 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.4544, allocations: 131.2 kB / 0.6793 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.4545, allocations: 26.56 kB / 0.6794 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.4545, allocations: 10.02 kB / 0.6794 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.4547, allocations: 91.78 kB / 0.6795 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4547, allocations: 44.03 kB / 0.6795 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4547, allocations: 0 / 0.6795 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002055/0.4549, allocations: 42.34 kB / 0.6795 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.4549, allocations: 52.06 kB / 0.6796 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.455, allocations: 92 kB / 0.6797 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.455, allocations: 26.7 kB / 0.6797 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.4551, allocations: 80.14 kB / 0.6798 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4551, allocations: 12.44 kB / 0.6798 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.4551, allocations: 0.8125 kB / 0.6798 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.4552, allocations: 318.7 kB / 0.6801 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.4552, allocations: 5 kB / 0.6801 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.4552, allocations: 4 kB / 0.6801 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.4553, allocations: 8.672 kB / 0.6801 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4553, allocations: 0 / 0.6801 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.08e-05/0.4554, allocations: 46.19 kB / 0.6802 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4554, allocations: 8.594 kB / 0.6802 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4554, allocations: 0 / 0.6802 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4554, allocations: 0.7812 kB / 0.6802 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.4555, allocations: 8 kB / 0.6802 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4555, allocations: 0.5 kB / 0.6802 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4556, allocations: 0.8438 kB / 0.6802 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4556, allocations: 4 kB / 0.6802 GB, free: 11.46 MB / 0.4948 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 5.693e-05/0.4556, allocations: 112.5 kB / 0.6803 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.4556, allocations: 0 / 0.6803 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.4558, allocations: 57.2 kB / 0.6803 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4558, allocations: 4.031 kB / 0.6803 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4558, allocations: 4 kB / 0.6803 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4558, allocations: 7.891 kB / 0.6804 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.4559, allocations: 122.2 kB / 0.6805 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4559, allocations: 5.188 kB / 0.6805 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.456, allocations: 13.36 kB / 0.6805 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.456, allocations: 0 / 0.6805 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.456, allocations: 0 / 0.6805 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.456, allocations: 0 / 0.6805 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.456, allocations: 0.625 kB / 0.6805 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000105/0.4561, allocations: 70.84 kB / 0.6806 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.4562, allocations: 92.09 kB / 0.6806 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.4562, allocations: 6.219 kB / 0.6806 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/0.4562, allocations: 0.5312 kB / 0.6806 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4563, allocations: 4.531 kB / 0.6807 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4563, allocations: 0.5625 kB / 0.6807 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.872e-05/0.4563, allocations: 80.97 kB / 0.6807 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001926/0.4565, allocations: 15.92 kB / 0.6807 GB, free: 10.8 MB / 0.4948 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.0001926/0.4567, allocations: 143.2 kB / 0.6809 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.4568, allocations: 12 kB / 0.6809 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4568, allocations: 0 / 0.6809 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.4568, allocations: 12 kB / 0.6809 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.457, allocations: 2.75 kB / 0.6809 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.4571, allocations: 59.84 kB / 0.681 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.4574, allocations: 0.6915 MB / 0.6816 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of SimCode: time 4.8e-07/0.4574, allocations: 0 / 0.6816 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.002721/0.4601, allocations: 0.7139 MB / 0.6823 GB, free: 9.156 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)