Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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.6758/0.6758, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001212/0.001212, allocations: 181.3 kB / 164.4 MB, free: 6.855 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.569/1.569, allocations: 205.1 MB / 399.1 MB, free: 6.105 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.001019/0.00102, allocations: 87.27 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.276e-06, allocations: 4 kB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 76.76 MB / 0.6209 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/0.7965, allocations: 103.1 MB / 0.7217 GB, free: 9.125 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.7968, allocations: 87.94 kB / 0.7217 GB, free: 9.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.00881/0.8057, allocations: 2.651 MB / 0.7243 GB, free: 6.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.8057, allocations: 4 kB / 0.7243 GB, free: 6.395 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.0003561/0.8061, allocations: 346.4 kB / 0.7247 GB, free: 6.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8061, allocations: 8.031 kB / 0.7247 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.8065, allocations: 31.89 kB / 0.7247 GB, free: 5.973 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.8067, allocations: 166.9 kB / 0.7249 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8067, allocations: 8 kB / 0.7249 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.8067, allocations: 0 / 0.7249 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.387e-05/0.8068, allocations: 19.98 kB / 0.7249 GB, free: 5.742 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.8069, allocations: 49.66 kB / 0.7249 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8069, allocations: 0 / 0.7249 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8069, allocations: 0 / 0.7249 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.807, allocations: 0 / 0.7249 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.8071, allocations: 154.1 kB / 0.7251 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.8073, allocations: 49.67 kB / 0.7251 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.8074, allocations: 20.94 kB / 0.7251 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.8074, allocations: 0 / 0.7251 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.8074, allocations: 34.56 kB / 0.7252 GB, free: 5.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8075, allocations: 0 / 0.7252 GB, free: 5.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001867/0.8093, allocations: 418.1 kB / 0.7256 GB, free: 4.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.8094, allocations: 59.41 kB / 0.7256 GB, free: 4.848 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.8094, allocations: 85 kB / 0.7257 GB, free: 4.758 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.8095, allocations: 25.7 kB / 0.7257 GB, free: 4.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.8095, allocations: 80.14 kB / 0.7258 GB, free: 4.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.8095, allocations: 27.64 kB / 0.7258 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.8096, allocations: 128 / 0.7258 GB, free: 4.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.8097, allocations: 314.8 kB / 0.7261 GB, free: 4.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.8097, allocations: 31.98 kB / 0.7262 GB, free: 4.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.8098, allocations: 27.98 kB / 0.7262 GB, free: 4.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.8099, allocations: 24.92 kB / 0.7262 GB, free: 4.219 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.8099, allocations: 0 / 0.7262 GB, free: 4.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002154/0.8102, allocations: 109.5 kB / 0.7263 GB, free: 4.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8102, allocations: 4 kB / 0.7263 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8102, allocations: 0 / 0.7263 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8102, allocations: 0 / 0.7263 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.8105, allocations: 35.84 kB / 0.7264 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8105, allocations: 240 / 0.7264 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.8106, allocations: 7.984 kB / 0.7264 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.8107, allocations: 7.984 kB / 0.7264 GB, free: 4.051 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 (7): * Single equations (assignments): 7 * 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.927e-05/0.8108, allocations: 104.9 kB / 0.7265 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.8108, allocations: 4 kB / 0.7265 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.8109, allocations: 12.06 kB / 0.7265 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8109, allocations: 4 kB / 0.7265 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8109, allocations: 4 kB / 0.7265 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8109, allocations: 3.906 kB / 0.7265 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.8111, allocations: 157 kB / 0.7267 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8111, allocations: 0 / 0.7267 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.8113, allocations: 27.91 kB / 0.7267 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8113, allocations: 0 / 0.7267 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.8114, allocations: 3.984 kB / 0.7267 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8114, allocations: 4 kB / 0.7267 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8114, allocations: 3.984 kB / 0.7267 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003116/0.8117, allocations: 168.9 kB / 0.7269 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.8118, allocations: 81.02 kB / 0.7269 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.8118, allocations: 128 / 0.7269 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.812, allocations: 15.98 kB / 0.727 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.812, allocations: 8.062 kB / 0.727 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.8121, allocations: 3.984 kB / 0.727 GB, free: 3.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.628e-05/0.8121, allocations: 83.34 kB / 0.727 GB, free: 3.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.8124, allocations: 39.92 kB / 0.7271 GB, free: 3.262 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002986/0.8127, allocations: 123.2 kB / 0.7272 GB, free: 3.129 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.8129, allocations: 67.91 kB / 0.7273 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8129, allocations: 0 / 0.7273 GB, free: 3.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.813, allocations: 48.06 kB / 0.7273 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.8131, allocations: 3.938 kB / 0.7273 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.8138, allocations: 124.1 kB / 0.7274 GB, free: 2.867 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.8142, allocations: 0.7075 MB / 0.7281 GB, free: 2.133 MB / 490.7 MB Notification: Performance of SimCode: time 2.11e-07/0.8142, allocations: 0 / 0.7281 GB, free: 2.133 MB / 490.7 MB Notification: Performance of Templates: time 0.005392/0.8196, allocations: 2.129 MB / 0.7302 GB, free: 44 kB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)