Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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.7236/0.7236, allocations: 127.4 MB / 134.6 MB, free: 4.156 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.001165/0.001164, allocations: 181.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.607/1.607, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001014/0.001014, allocations: 85.03 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.466e-06, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1606, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5447, allocations: 102.1 MB / 0.7206 GB, free: 10.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.545, allocations: 83.92 kB / 0.7207 GB, free: 10.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004174/0.5492, allocations: 1.214 MB / 0.7219 GB, free: 9.051 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.5492, allocations: 8 kB / 0.7219 GB, free: 9.043 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000276/0.5495, allocations: 326.4 kB / 0.7222 GB, free: 8.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5495, allocations: 8.031 kB / 0.7222 GB, free: 8.672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.5497, allocations: 20.84 kB / 0.7222 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5499, allocations: 159.1 kB / 0.7224 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5499, allocations: 3.906 kB / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5499, allocations: 4 kB / 0.7224 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.543e-05/0.55, allocations: 15.98 kB / 0.7224 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.521e-05/0.5501, allocations: 45.64 kB / 0.7225 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5501, allocations: 0 / 0.7225 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5501, allocations: 0 / 0.7225 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.5501, allocations: 3.984 kB / 0.7225 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.5503, allocations: 138.2 kB / 0.7226 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.5522, allocations: 278.3 kB / 0.7229 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.5522, allocations: 16.86 kB / 0.7229 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.5523, allocations: 4 kB / 0.7229 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5523, allocations: 34.56 kB / 0.7229 GB, free: 7.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.5523, allocations: 0 / 0.7229 GB, free: 7.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001588/0.5525, allocations: 53.72 kB / 0.723 GB, free: 7.801 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.5525, allocations: 51.41 kB / 0.723 GB, free: 7.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.5526, allocations: 85 kB / 0.7231 GB, free: 7.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5526, allocations: 25.7 kB / 0.7231 GB, free: 7.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.5526, allocations: 84.27 kB / 0.7232 GB, free: 7.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.5527, allocations: 15.81 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.5527, allocations: 0 / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5528, allocations: 318.8 kB / 0.7235 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.5528, allocations: 8 kB / 0.7235 GB, free: 7.188 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.5529, allocations: 4 kB / 0.7235 GB, free: 7.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.5529, allocations: 9.031 kB / 0.7235 GB, free: 7.176 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.5529, allocations: 4 kB / 0.7235 GB, free: 7.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.563e-05/0.553, allocations: 53.53 kB / 0.7236 GB, free: 7.113 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.553, allocations: 8 kB / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.553, allocations: 0 / 0.7236 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.553, allocations: 4 kB / 0.7236 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.5531, allocations: 8 kB / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5531, allocations: 0 / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.5531, allocations: 0 / 0.7236 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.5532, allocations: 4.703 kB / 0.7236 GB, free: 7.09 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 (4): * Single equations (assignments): 4 * 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 6.884e-05/0.5532, allocations: 105 kB / 0.7237 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.5533, allocations: 7.844 kB / 0.7237 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.5533, allocations: 11.53 kB / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5533, allocations: 0 / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5533, allocations: 4 kB / 0.7237 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5533, allocations: 0 / 0.7237 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.5534, allocations: 138.1 kB / 0.7239 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5534, allocations: 0 / 0.7239 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.5535, allocations: 4 kB / 0.7239 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5535, allocations: 0 / 0.7239 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5535, allocations: 0 / 0.7239 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5535, allocations: 4 kB / 0.7239 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5535, allocations: 0 / 0.7239 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001109/0.5537, allocations: 84.97 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.5537, allocations: 81.09 kB / 0.724 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.5538, allocations: 0 / 0.724 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.5538, allocations: 0 / 0.724 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.5538, allocations: 8 kB / 0.724 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5538, allocations: 0 / 0.724 GB, free: 6.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.221e-05/0.5539, allocations: 75.28 kB / 0.7241 GB, free: 6.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.5541, allocations: 12.09 kB / 0.7241 GB, free: 6.484 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 (4): * Single equations (assignments): 4 * 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.0001267/0.5542, allocations: 103.2 kB / 0.7242 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.5543, allocations: 16.23 kB / 0.7242 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5543, allocations: 0 / 0.7242 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.5544, allocations: 20.03 kB / 0.7243 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.5545, allocations: 7.906 kB / 0.7243 GB, free: 6.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.5548, allocations: 74.52 kB / 0.7243 GB, free: 6.238 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.5551, allocations: 0.6876 MB / 0.725 GB, free: 5.527 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5551, allocations: 4 kB / 0.725 GB, free: 5.523 MB / 490.7 MB Notification: Performance of Templates: time 0.002591/0.5577, allocations: 0.5938 MB / 0.7256 GB, free: 4.938 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)