Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.001045/0.001046, allocations: 176.8 kB / 7.799 MB, free: 1.199 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4489/0.4489, allocations: 90.84 MB / 99.06 MB, free: 8.883 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 221.4 MB / 342.7 MB, free: 4.648 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 99.14 kB / 415.5 MB, free: 14.23 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.254e-06, allocations: 3.938 kB / 493.8 MB, free: 7.59 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 72.3 MB / 0.5529 GB, free: 61.66 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.592/0.9213, allocations: 386.7 MB / 0.9305 GB, free: 23.76 MB / 0.5652 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.9216, allocations: 70.22 kB / 0.9306 GB, free: 23.73 MB / 0.5652 GB Notification: Performance of FrontEnd: time 0.03753/0.9592, allocations: 18.72 MB / 0.9489 GB, free: 8.918 MB / 0.5652 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9592, allocations: 0 / 0.9489 GB, free: 8.918 MB / 0.5652 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.0002998/0.9595, allocations: 345.9 kB / 0.9492 GB, free: 8.539 MB / 0.5652 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9596, allocations: 8.031 kB / 0.9492 GB, free: 8.531 MB / 0.5652 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.9596, allocations: 7.281 kB / 0.9492 GB, free: 8.527 MB / 0.5652 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.9597, allocations: 159.1 kB / 0.9494 GB, free: 8.332 MB / 0.5652 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.9598, allocations: 29.69 kB / 0.9494 GB, free: 8.297 MB / 0.5652 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.9598, allocations: 7.906 kB / 0.9494 GB, free: 8.289 MB / 0.5652 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.858e-05/0.9599, allocations: 12 kB / 0.9494 GB, free: 8.277 MB / 0.5652 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.088e-05/0.96, allocations: 45.19 kB / 0.9494 GB, free: 8.23 MB / 0.5652 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.96, allocations: 0 / 0.9494 GB, free: 8.23 MB / 0.5652 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.96, allocations: 0 / 0.9494 GB, free: 8.23 MB / 0.5652 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.9601, allocations: 0 / 0.9494 GB, free: 8.23 MB / 0.5652 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.9605, allocations: 311.5 kB / 0.9497 GB, free: 7.879 MB / 0.5652 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.9605, allocations: 18.58 kB / 0.9498 GB, free: 7.852 MB / 0.5652 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.9605, allocations: 8.859 kB / 0.9498 GB, free: 7.84 MB / 0.5652 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.9606, allocations: 85.17 kB / 0.9499 GB, free: 7.738 MB / 0.5652 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.9606, allocations: 38.48 kB / 0.9499 GB, free: 7.691 MB / 0.5652 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.9606, allocations: 0 / 0.9499 GB, free: 7.691 MB / 0.5652 GB Notification: Performance of matching and sorting (n=1): time 0.0001941/0.9608, allocations: 33.08 kB / 0.9499 GB, free: 7.656 MB / 0.5652 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.9609, allocations: 55.34 kB / 0.95 GB, free: 7.59 MB / 0.5652 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.9609, allocations: 96.98 kB / 0.9501 GB, free: 7.488 MB / 0.5652 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.9609, allocations: 29.73 kB / 0.9501 GB, free: 7.453 MB / 0.5652 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.961, allocations: 87.55 kB / 0.9502 GB, free: 7.367 MB / 0.5652 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.961, allocations: 3.906 kB / 0.9502 GB, free: 7.363 MB / 0.5652 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.961, allocations: 0 / 0.9502 GB, free: 7.363 MB / 0.5652 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.961, allocations: 314.8 kB / 0.9505 GB, free: 7.047 MB / 0.5652 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.9611, allocations: 3.688 kB / 0.9505 GB, free: 7.047 MB / 0.5652 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.9611, allocations: 17.7 kB / 0.9505 GB, free: 7.023 MB / 0.5652 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.9612, allocations: 8 kB / 0.9505 GB, free: 7.016 MB / 0.5652 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9612, allocations: 2.062 kB / 0.9505 GB, free: 7.016 MB / 0.5652 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.9613, allocations: 53.19 kB / 0.9506 GB, free: 6.961 MB / 0.5652 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.9613, allocations: 7.906 kB / 0.9506 GB, free: 6.953 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9613, allocations: 0 / 0.9506 GB, free: 6.953 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9613, allocations: 4 kB / 0.9506 GB, free: 6.949 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.9614, allocations: 7.984 kB / 0.9506 GB, free: 6.941 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9614, allocations: 0 / 0.9506 GB, free: 6.941 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.9614, allocations: 3.938 kB / 0.9506 GB, free: 6.938 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.9614, allocations: 8.062 kB / 0.9506 GB, free: 6.93 MB / 0.5652 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 4.787e-05/0.9615, allocations: 101 kB / 0.9507 GB, free: 6.824 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.9615, allocations: 4.188 kB / 0.9507 GB, free: 6.82 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.9616, allocations: 123 kB / 0.9508 GB, free: 6.695 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.9617, allocations: 184.2 kB / 0.951 GB, free: 6.508 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/0.9617, allocations: 187.8 kB / 0.9512 GB, free: 6.32 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.9617, allocations: 176.3 kB / 0.9513 GB, free: 6.141 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.9619, allocations: 389.7 kB / 0.9517 GB, free: 5.715 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.9619, allocations: 104.9 kB / 0.9518 GB, free: 5.605 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.9619, allocations: 107.7 kB / 0.9519 GB, free: 5.5 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.631e-05/0.9619, allocations: 180.2 kB / 0.9521 GB, free: 5.316 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.962, allocations: 188.2 kB / 0.9523 GB, free: 5.125 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.598e-05/0.962, allocations: 176.3 kB / 0.9524 GB, free: 4.945 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.782e-05/0.962, allocations: 176.3 kB / 0.9526 GB, free: 4.766 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.803e-05/0.9621, allocations: 317.6 kB / 0.9529 GB, free: 4.438 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.9622, allocations: 183.4 kB / 0.9531 GB, free: 4.234 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.9622, allocations: 184.2 kB / 0.9532 GB, free: 4.047 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.9623, allocations: 109 kB / 0.9534 GB, free: 3.934 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.9624, allocations: 180.2 kB / 0.9535 GB, free: 3.75 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.9624, allocations: 104.9 kB / 0.9536 GB, free: 3.641 MB / 0.5652 GB Notification: Performance of sort global known variables: time 2.763e-05/0.9624, allocations: 86.97 kB / 0.9537 GB, free: 3.559 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.0002606/0.9627, allocations: 20 kB / 0.9537 GB, free: 3.539 MB / 0.5652 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 (0): * Single equations (assignments): 0 * 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.0002332/0.9629, allocations: 226 kB / 0.9539 GB, free: 3.312 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 8.237e-05/0.963, allocations: 8.297 kB / 0.9539 GB, free: 3.305 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.963, allocations: 0 / 0.9539 GB, free: 3.305 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.963, allocations: 4.125 kB / 0.954 GB, free: 3.301 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.9633, allocations: 0.526 MB / 0.9545 GB, free: 2.773 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.9635, allocations: 125.1 kB / 0.9546 GB, free: 2.629 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.9636, allocations: 0.689 MB / 0.9553 GB, free: 1.914 MB / 0.5652 GB Notification: Performance of SimCode: time 2.7e-07/0.9636, allocations: 4 kB / 0.9553 GB, free: 1.91 MB / 0.5652 GB Notification: Performance of Templates: time 0.00287/0.9665, allocations: 0.8784 MB / 0.9561 GB, free: 1.09 MB / 0.5652 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)