Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") [: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.0009843/0.0009843, allocations: 188.9 kB / 7.805 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4452/0.4452, allocations: 90.86 MB / 99.07 MB, free: 14.93 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.178/1.178, allocations: 221.4 MB / 342.8 MB, free: 5.43 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.001205/0.001205, allocations: 101.4 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.505e-06/8.526e-06, allocations: 0 / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 72.31 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4363, allocations: 100.9 MB / 0.6514 GB, free: 9.137 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4366, allocations: 68.8 kB / 0.6515 GB, free: 9.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003374/0.44, allocations: 0.8614 MB / 0.6523 GB, free: 8.242 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.44, allocations: 0 / 0.6523 GB, free: 8.242 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004012/0.4405, allocations: 360.4 kB / 0.6527 GB, free: 7.852 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4405, allocations: 8.594 kB / 0.6527 GB, free: 7.844 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.4414, allocations: 173.3 kB / 0.6529 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4415, allocations: 167.8 kB / 0.653 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4415, allocations: 0 / 0.653 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4416, allocations: 4.5 kB / 0.653 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002231/0.4418, allocations: 128.4 kB / 0.6531 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.442, allocations: 110 kB / 0.6533 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.442, allocations: 0 / 0.6533 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.442, allocations: 1.156 kB / 0.6533 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.442, allocations: 0 / 0.6533 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.443, allocations: 458.7 kB / 0.6537 GB, free: 6.762 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.4434, allocations: 163.1 kB / 0.6538 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.4435, allocations: 48.98 kB / 0.6539 GB, free: 6.543 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4435, allocations: 4 kB / 0.6539 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4436, allocations: 42.47 kB / 0.6539 GB, free: 6.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.4436, allocations: 0 / 0.6539 GB, free: 6.488 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.000271/0.4438, allocations: 109.6 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.4439, allocations: 51.41 kB / 0.6541 GB, free: 6.312 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.444, allocations: 102.8 kB / 0.6542 GB, free: 6.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.444, allocations: 25.7 kB / 0.6542 GB, free: 6.176 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.444, allocations: 92.05 kB / 0.6543 GB, free: 6.082 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.4441, allocations: 7.891 kB / 0.6543 GB, free: 6.074 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.4441, allocations: 0 / 0.6543 GB, free: 6.074 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4442, allocations: 318.8 kB / 0.6546 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.4443, allocations: 39.97 kB / 0.6547 GB, free: 5.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.4444, allocations: 47.97 kB / 0.6547 GB, free: 5.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.4444, allocations: 35.97 kB / 0.6547 GB, free: 5.633 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4444, allocations: 0 / 0.6547 GB, free: 5.633 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002093/0.4446, allocations: 113.5 kB / 0.6548 GB, free: 5.516 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4447, allocations: 4 kB / 0.6548 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4447, allocations: 0 / 0.6548 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4447, allocations: 5.438 kB / 0.6549 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.445, allocations: 43.95 kB / 0.6549 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.445, allocations: 4 kB / 0.6549 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.4452, allocations: 50.23 kB / 0.6549 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4452, allocations: 3.906 kB / 0.6549 GB, free: 5.41 MB / 474.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.21e-05/0.4453, allocations: 108.9 kB / 0.6551 GB, free: 5.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4454, allocations: 192 / 0.6551 GB, free: 5.297 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.4454, allocations: 11.98 kB / 0.6551 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4454, allocations: 7.891 kB / 0.6551 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4454, allocations: 0 / 0.6551 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4454, allocations: 4 kB / 0.6551 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.4457, allocations: 182.2 kB / 0.6552 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4457, allocations: 0 / 0.6552 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.4459, allocations: 53.12 kB / 0.6553 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4459, allocations: 0 / 0.6553 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4459, allocations: 0 / 0.6553 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.446, allocations: 3.906 kB / 0.6553 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.446, allocations: 0 / 0.6553 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002353/0.4462, allocations: 207.4 kB / 0.6555 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.4463, allocations: 89 kB / 0.6556 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4463, allocations: 0 / 0.6556 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.4465, allocations: 45.27 kB / 0.6556 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.4466, allocations: 0 / 0.6556 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4466, allocations: 0 / 0.6556 GB, free: 4.629 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.808e-05/0.4467, allocations: 89.16 kB / 0.6557 GB, free: 4.543 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.4469, allocations: 15.91 kB / 0.6557 GB, free: 4.527 MB / 474.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.0001216/0.447, allocations: 95.23 kB / 0.6558 GB, free: 4.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.4472, allocations: 91.94 kB / 0.6559 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.4472, allocations: 5.969 kB / 0.6559 GB, free: 4.332 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.355e-05/0.4473, allocations: 55.91 kB / 0.656 GB, free: 4.277 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4475, allocations: 0 / 0.656 GB, free: 4.277 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.4482, allocations: 183.6 kB / 0.6561 GB, free: 4.074 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.4486, allocations: 0.7149 MB / 0.6568 GB, free: 3.336 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4486, allocations: 0 / 0.6568 GB, free: 3.336 MB / 474.7 MB Notification: Performance of Templates: time 0.002895/0.4515, allocations: 1.163 MB / 0.658 GB, free: 2.203 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)