Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_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/BuildSysPro 3.5.0/package.mo): time 0.6959/0.6959, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001069/0.001069, allocations: 185.2 kB / 164.4 MB, free: 6.867 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.469/1.469, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009743/0.0009742, allocations: 96.39 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.516e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.175, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.6264, allocations: 103.2 MB / 0.7217 GB, free: 9.148 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.6268, allocations: 83.95 kB / 0.7218 GB, free: 9.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.006561/0.6334, allocations: 1.699 MB / 0.7235 GB, free: 7.371 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.6334, allocations: 0 / 0.7235 GB, free: 7.371 MB / 490.7 MB 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.0003484/0.6338, allocations: 342.4 kB / 0.7238 GB, free: 6.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6338, allocations: 8.031 kB / 0.7238 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.6339, allocations: 0 / 0.7238 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.634, allocations: 175 kB / 0.724 GB, free: 6.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.6341, allocations: 29.64 kB / 0.724 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.6341, allocations: 0 / 0.724 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.404e-05/0.6342, allocations: 12.88 kB / 0.724 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.261e-05/0.6343, allocations: 29.69 kB / 0.724 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6343, allocations: 4 kB / 0.724 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6343, allocations: 0 / 0.724 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6343, allocations: 0 / 0.724 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.6345, allocations: 134.2 kB / 0.7242 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.953e-05/0.6345, allocations: 30.61 kB / 0.7242 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.6346, allocations: 8.859 kB / 0.7242 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.6348, allocations: 98.05 kB / 0.7243 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6348, allocations: 31.11 kB / 0.7243 GB, free: 6.316 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6348, allocations: 4 kB / 0.7243 GB, free: 6.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003577/0.6352, allocations: 73.64 kB / 0.7244 GB, free: 6.234 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.6352, allocations: 51.41 kB / 0.7245 GB, free: 6.172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.6353, allocations: 89 kB / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6353, allocations: 28 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.6354, allocations: 80.14 kB / 0.7246 GB, free: 5.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6354, allocations: 11.75 kB / 0.7247 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.6354, allocations: 0 / 0.7247 GB, free: 5.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6355, allocations: 322.8 kB / 0.725 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.6356, allocations: 0 / 0.725 GB, free: 5.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.6356, allocations: 11.98 kB / 0.725 GB, free: 5.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.6358, allocations: 31.95 kB / 0.725 GB, free: 5.586 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6358, allocations: 0 / 0.725 GB, free: 5.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002356/0.636, allocations: 70.08 kB / 0.7251 GB, free: 5.512 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6361, allocations: 8 kB / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6361, allocations: 0 / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6361, allocations: 0 / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.6362, allocations: 4 kB / 0.7251 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6362, allocations: 3.906 kB / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.6362, allocations: 12 kB / 0.7251 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.6362, allocations: 0 / 0.7251 GB, free: 5.484 MB / 490.7 MB 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.376e-05/0.6363, allocations: 105 kB / 0.7252 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.6363, allocations: 7.891 kB / 0.7252 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.6366, allocations: 77.27 kB / 0.7253 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6366, allocations: 0 / 0.7253 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6366, allocations: 3.938 kB / 0.7253 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6366, allocations: 0 / 0.7253 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.6367, allocations: 134.2 kB / 0.7254 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6368, allocations: 4 kB / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.6368, allocations: 8 kB / 0.7254 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6368, allocations: 0 / 0.7254 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.6368, allocations: 3.906 kB / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6369, allocations: 0 / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6369, allocations: 0 / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000246/0.6371, allocations: 93.08 kB / 0.7255 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.6372, allocations: 85 kB / 0.7256 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.6372, allocations: 8 kB / 0.7256 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.6372, allocations: 480 / 0.7256 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.6373, allocations: 0 / 0.7256 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6373, allocations: 4 kB / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.473e-05/0.6373, allocations: 87.19 kB / 0.7257 GB, free: 4.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.6376, allocations: 27.94 kB / 0.7257 GB, free: 4.762 MB / 490.7 MB 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.0002412/0.6378, allocations: 147.1 kB / 0.7259 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.171e-05/0.6379, allocations: 8 kB / 0.7259 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6379, allocations: 2.438 kB / 0.7259 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.638, allocations: 12 kB / 0.7259 GB, free: 4.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.6381, allocations: 3.938 kB / 0.7259 GB, free: 4.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.6383, allocations: 59.77 kB / 0.7259 GB, free: 4.504 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.6386, allocations: 0.6876 MB / 0.7266 GB, free: 3.793 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6386, allocations: 0 / 0.7266 GB, free: 3.793 MB / 490.7 MB Notification: Performance of Templates: time 0.003024/0.6417, allocations: 0.9052 MB / 0.7275 GB, free: 2.891 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)