Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [: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/BuildSysPro 3.5.0/package.mo): time 0.675/0.675, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 185.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 91.33 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.727e-06/8.757e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1543, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/4.785, allocations: 2.13 GB / 2.75 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/4.785, allocations: 91.19 kB / 2.751 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05301/4.838, allocations: 26.31 MB / 2.776 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/4.838, allocations: 0 / 2.776 GB, free: 12.58 MB / 0.6355 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.0003094/4.839, allocations: 352.6 kB / 2.777 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/4.839, allocations: 8.031 kB / 2.777 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/4.839, allocations: 35.94 kB / 2.777 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/4.839, allocations: 171 kB / 2.777 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/4.839, allocations: 0 / 2.777 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/4.839, allocations: 3.984 kB / 2.777 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.35e-05/4.84, allocations: 4 kB / 2.777 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.874e-05/4.84, allocations: 45.61 kB / 2.777 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/4.84, allocations: 4 kB / 2.777 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/4.84, allocations: 0 / 2.777 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/4.84, allocations: 0 / 2.777 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/4.84, allocations: 225.4 kB / 2.777 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/4.84, allocations: 22.64 kB / 2.777 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/4.84, allocations: 8.859 kB / 2.777 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/4.84, allocations: 8 kB / 2.777 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/4.84, allocations: 34.55 kB / 2.777 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/4.84, allocations: 0 / 2.777 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/4.84, allocations: 45.55 kB / 2.777 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/4.84, allocations: 51.41 kB / 2.777 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/4.84, allocations: 96.98 kB / 2.777 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/4.84, allocations: 29.64 kB / 2.777 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/4.841, allocations: 88.17 kB / 2.777 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/4.841, allocations: 7.844 kB / 2.777 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/4.841, allocations: 0 / 2.777 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/4.841, allocations: 314.8 kB / 2.778 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/4.841, allocations: 4 kB / 2.778 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/4.841, allocations: 7.984 kB / 2.778 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/4.841, allocations: 4.281 kB / 2.778 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/4.841, allocations: 0 / 2.778 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/4.841, allocations: 57.56 kB / 2.778 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/4.841, allocations: 7.938 kB / 2.778 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/4.841, allocations: 8 kB / 2.778 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/4.841, allocations: 7.938 kB / 2.778 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/4.841, allocations: 7.984 kB / 2.778 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/4.841, allocations: 0 / 2.778 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/4.841, allocations: 8 kB / 2.778 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/4.841, allocations: 3.984 kB / 2.778 GB, free: 10.74 MB / 0.6355 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.893e-05/4.841, allocations: 104.9 kB / 2.778 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/4.841, allocations: 8 kB / 2.778 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/4.841, allocations: 7.312 kB / 2.778 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/4.841, allocations: 0 / 2.778 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/4.841, allocations: 0 / 2.778 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/4.841, allocations: 0 / 2.778 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/4.841, allocations: 134.1 kB / 2.778 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/4.841, allocations: 0 / 2.778 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/4.842, allocations: 4 kB / 2.778 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/4.842, allocations: 0 / 2.778 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/4.842, allocations: 0 / 2.778 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/4.842, allocations: 3.984 kB / 2.778 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/4.842, allocations: 4 kB / 2.778 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.007e-05/4.842, allocations: 136.8 kB / 2.778 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/4.842, allocations: 85.09 kB / 2.778 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/4.842, allocations: 0 / 2.778 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/4.842, allocations: 0 / 2.778 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/4.842, allocations: 7.906 kB / 2.778 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/4.842, allocations: 4.031 kB / 2.778 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.362e-05/4.842, allocations: 91.2 kB / 2.778 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003349/4.842, allocations: 47.98 kB / 2.778 GB, free: 10.04 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.001004/4.843, allocations: 0.6646 MB / 2.779 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.134e-05/4.843, allocations: 15.98 kB / 2.779 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/4.843, allocations: 0 / 2.779 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/4.843, allocations: 7.938 kB / 2.779 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/4.844, allocations: 8 kB / 2.779 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/4.844, allocations: 55.91 kB / 2.779 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/4.844, allocations: 0.6919 MB / 2.78 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/4.844, allocations: 0 / 2.78 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of Templates: time 0.007692/4.852, allocations: 4.116 MB / 2.784 GB, free: 4.438 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)