Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [: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.001013/0.001013, allocations: 180.2 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4373/0.4373, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.202/1.202, allocations: 221.4 MB / 342.7 MB, free: 5.254 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.0009025/0.0009025, allocations: 94.38 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.059e-05, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2839, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5059/0.7898, allocations: 369.9 MB / 0.9142 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.79, allocations: 71.89 kB / 0.9142 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.0405/0.8306, allocations: 18.73 MB / 0.9325 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8306, allocations: 3.938 kB / 0.9325 GB, free: 4.078 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004049/0.831, allocations: 364.7 kB / 0.9329 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8311, allocations: 8.031 kB / 0.9329 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.8311, allocations: 4 kB / 0.9329 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8312, allocations: 163 kB / 0.933 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.8312, allocations: 0 / 0.933 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.8313, allocations: 15.67 kB / 0.9331 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.199e-05/0.8314, allocations: 15.94 kB / 0.9331 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.8315, allocations: 49.22 kB / 0.9331 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.8315, allocations: 4 kB / 0.9331 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8315, allocations: 0 / 0.9331 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8315, allocations: 0 / 0.9331 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.8317, allocations: 138.8 kB / 0.9333 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.8318, allocations: 39.2 kB / 0.9333 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.8318, allocations: 19.55 kB / 0.9333 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.8325, allocations: 0.6038 MB / 0.9339 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.8325, allocations: 38.5 kB / 0.9339 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.8325, allocations: 0 / 0.9339 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004896/0.833, allocations: 279.1 kB / 0.9342 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.8331, allocations: 55.84 kB / 0.9343 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.8331, allocations: 96.38 kB / 0.9343 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8331, allocations: 25.7 kB / 0.9344 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.8332, allocations: 88.05 kB / 0.9345 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.8332, allocations: 23.08 kB / 0.9345 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.8332, allocations: 0 / 0.9345 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8333, allocations: 318.5 kB / 0.9348 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.8334, allocations: 15.38 kB / 0.9348 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.8334, allocations: 48.02 kB / 0.9348 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.8334, allocations: 11.69 kB / 0.9349 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.8334, allocations: 4 kB / 0.9349 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.8336, allocations: 92.44 kB / 0.9349 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8336, allocations: 4 kB / 0.9349 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8336, allocations: 0 / 0.9349 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8336, allocations: 4 kB / 0.935 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.8337, allocations: 20.23 kB / 0.935 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8337, allocations: 7.938 kB / 0.935 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.8338, allocations: 5.219 kB / 0.935 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.8338, allocations: 4 kB / 0.935 GB, free: 1.266 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.202e-05/0.8338, allocations: 109 kB / 0.9351 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.8339, allocations: 4 kB / 0.9351 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.8339, allocations: 7.312 kB / 0.9351 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8339, allocations: 7.891 kB / 0.9351 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8339, allocations: 4 kB / 0.9351 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8339, allocations: 0 / 0.9351 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.8342, allocations: 144.5 kB / 0.9352 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8342, allocations: 0 / 0.9352 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.8343, allocations: 19.98 kB / 0.9353 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8343, allocations: 0 / 0.9353 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.8343, allocations: 7.938 kB / 0.9353 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8343, allocations: 4.156 kB / 0.9353 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8343, allocations: 0 / 0.9353 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001535/0.8345, allocations: 174.1 kB / 0.9354 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.8345, allocations: 85.02 kB / 0.9355 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.8345, allocations: 0 / 0.9355 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8347, allocations: 3.984 kB / 0.9355 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.8347, allocations: 4 kB / 0.9355 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.8347, allocations: 4 kB / 0.9355 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.715e-05/0.8347, allocations: 79.28 kB / 0.9356 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002372/0.835, allocations: 15.06 kB / 0.9356 GB, free: 0.5547 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001931/0.8352, allocations: 142.9 kB / 0.9358 GB, free: 420 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.8353, allocations: 41.8 kB / 0.9358 GB, free: 384 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.8353, allocations: 0 / 0.9358 GB, free: 384 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.8353, allocations: 23.55 kB / 0.9358 GB, free: 364 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.8355, allocations: 7.891 kB / 0.9358 GB, free: 356 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.8359, allocations: 258.5 kB / 0.9361 GB, free: 76 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1498/0.9858, allocations: 0.6987 MB / 0.9368 GB, free: 276.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.9858, allocations: 0 / 0.9368 GB, free: 276.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.002759/0.9886, allocations: 0.9451 MB / 0.9377 GB, free: 276.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)