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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001661, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5804/0.5804, allocations: 90.92 MB / 99.35 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 105.8 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.331e-05/1.334e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 72.33 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5668, allocations: 101 MB / 0.6521 GB, free: 9.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.567, allocations: 73.33 kB / 0.6522 GB, free: 9.18 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003227/0.5703, allocations: 1.154 MB / 0.6533 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5703, allocations: 0 / 0.6533 GB, free: 8.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5703, allocations: 0.8438 kB / 0.6533 GB, free: 8.145 MB / 458.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.0003547/0.5707, allocations: 358.1 kB / 0.6537 GB, free: 7.754 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5707, allocations: 8.031 kB / 0.6537 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.5715, allocations: 190.8 kB / 0.6539 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5717, allocations: 167 kB / 0.654 GB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5717, allocations: 0 / 0.654 GB, free: 7.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.5717, allocations: 4 kB / 0.654 GB, free: 7.355 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002097/0.5719, allocations: 111.6 kB / 0.6541 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5721, allocations: 109.2 kB / 0.6542 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5721, allocations: 11.86 kB / 0.6543 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5722, allocations: 0 / 0.6543 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.5722, allocations: 3.953 kB / 0.6543 GB, free: 7.168 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.573, allocations: 437.8 kB / 0.6547 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.5734, allocations: 154 kB / 0.6548 GB, free: 6.609 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.5735, allocations: 53.88 kB / 0.6549 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.5735, allocations: 11.3 kB / 0.6549 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.5736, allocations: 30.56 kB / 0.6549 GB, free: 6.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5736, allocations: 0 / 0.6549 GB, free: 6.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002313/0.5738, allocations: 101.6 kB / 0.655 GB, free: 6.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5738, allocations: 55.41 kB / 0.6551 GB, free: 6.367 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.5739, allocations: 100.3 kB / 0.6552 GB, free: 6.266 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5739, allocations: 25.7 kB / 0.6552 GB, free: 6.234 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.574, allocations: 91.53 kB / 0.6553 GB, free: 6.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.574, allocations: 11.59 kB / 0.6553 GB, free: 6.137 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.574, allocations: 0 / 0.6553 GB, free: 6.137 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.5741, allocations: 310.8 kB / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.5742, allocations: 40.53 kB / 0.6556 GB, free: 5.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.5743, allocations: 44.72 kB / 0.6557 GB, free: 5.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.5743, allocations: 34.53 kB / 0.6557 GB, free: 5.742 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5744, allocations: 4 kB / 0.6557 GB, free: 5.738 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001844/0.5745, allocations: 109.5 kB / 0.6558 GB, free: 5.645 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5746, allocations: 9.203 kB / 0.6558 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5746, allocations: 0 / 0.6558 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5746, allocations: 0 / 0.6558 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.5749, allocations: 51.88 kB / 0.6559 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5749, allocations: 0 / 0.6559 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5751, allocations: 43.45 kB / 0.6559 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5751, allocations: 0 / 0.6559 GB, free: 5.547 MB / 458.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.295e-05/0.5752, allocations: 105 kB / 0.656 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.5753, allocations: 7.891 kB / 0.656 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.5753, allocations: 16.3 kB / 0.656 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5753, allocations: 0 / 0.656 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5753, allocations: 2.188 kB / 0.656 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5754, allocations: 0 / 0.656 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5756, allocations: 175.7 kB / 0.6562 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5756, allocations: 7.984 kB / 0.6562 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.5758, allocations: 43.33 kB / 0.6562 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5758, allocations: 0 / 0.6562 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5758, allocations: 7.938 kB / 0.6562 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5758, allocations: 3.953 kB / 0.6563 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5758, allocations: 0 / 0.6563 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5761, allocations: 202.9 kB / 0.6564 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.5761, allocations: 85.02 kB / 0.6565 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.5761, allocations: 4 kB / 0.6565 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.5764, allocations: 35.95 kB / 0.6566 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5764, allocations: 7.938 kB / 0.6566 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5764, allocations: 0 / 0.6566 GB, free: 4.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.467e-05/0.5765, allocations: 86.78 kB / 0.6567 GB, free: 4.738 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5765, allocations: 0 / 0.6567 GB, free: 4.738 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.5767, allocations: 16 kB / 0.6567 GB, free: 4.723 MB / 458.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.5768, allocations: 91.25 kB / 0.6568 GB, free: 4.621 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.577, allocations: 97.42 kB / 0.6569 GB, free: 4.551 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.577, allocations: 0 / 0.6569 GB, free: 4.551 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.5771, allocations: 44.72 kB / 0.6569 GB, free: 4.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.5773, allocations: 4 kB / 0.6569 GB, free: 4.516 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.5779, allocations: 180.9 kB / 0.6571 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.5781, allocations: 0.6955 MB / 0.6577 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.5782, allocations: 16 kB / 0.6578 GB, free: 3.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.5783, allocations: 11.42 kB / 0.6578 GB, free: 3.586 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5783, allocations: 0 / 0.6578 GB, free: 3.586 MB / 458.7 MB Notification: Performance of Templates: time 0.002474/0.5808, allocations: 0.7135 MB / 0.6585 GB, free: 2.883 MB / 458.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)