Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6422/0.6422, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001079/0.001079, allocations: 178.2 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0007333/0.0007336, allocations: 100.9 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004292, allocations: 12 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4033, allocations: 74.54 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5457, allocations: 101.7 MB / 0.7144 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.546, allocations: 75.95 kB / 0.7145 GB, free: 204 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003511/0.5495, allocations: 1.185 MB / 0.7156 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5496, allocations: 0 / 0.7156 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.5496, allocations: 0 / 0.7156 GB, free: 15.01 MB / 0.4948 GB 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.0004263/0.55, allocations: 359.4 kB / 0.716 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5501, allocations: 12.03 kB / 0.716 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.5509, allocations: 192.5 kB / 0.7162 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.551, allocations: 168.3 kB / 0.7163 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5511, allocations: 384 / 0.7163 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.5511, allocations: 8.375 kB / 0.7164 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.5517, allocations: 210 kB / 0.7166 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5517, allocations: 192 / 0.7166 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5517, allocations: 3.938 kB / 0.7166 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5517, allocations: 0 / 0.7166 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.5525, allocations: 327.6 kB / 0.7169 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.5535, allocations: 457.2 kB / 0.7173 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5545, allocations: 345.9 kB / 0.7176 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.5549, allocations: 120.8 kB / 0.7178 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5549, allocations: 4 kB / 0.7178 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.555, allocations: 30.56 kB / 0.7178 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.555, allocations: 0 / 0.7178 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001127/0.5561, allocations: 365.5 kB / 0.7181 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.5562, allocations: 55.34 kB / 0.7182 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5563, allocations: 125.8 kB / 0.7183 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.5563, allocations: 25.7 kB / 0.7183 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.5564, allocations: 84.14 kB / 0.7184 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.5564, allocations: 15.75 kB / 0.7184 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.5564, allocations: 4 kB / 0.7184 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5565, allocations: 318.8 kB / 0.7187 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.5569, allocations: 115.9 kB / 0.7188 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.5572, allocations: 115.9 kB / 0.719 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.5579, allocations: 208.6 kB / 0.7192 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.5579, allocations: 4 kB / 0.7192 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000702/0.5586, allocations: 253.4 kB / 0.7194 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5586, allocations: 4 kB / 0.7194 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5586, allocations: 0 / 0.7194 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5587, allocations: 0 / 0.7194 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.5589, allocations: 51.94 kB / 0.7195 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.559, allocations: 3.984 kB / 0.7195 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5591, allocations: 35.95 kB / 0.7195 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5592, allocations: 0 / 0.7195 GB, free: 10.86 MB / 0.4948 GB 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 () * Number of clocked 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 0.0001291/0.5593, allocations: 121.8 kB / 0.7196 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.5593, allocations: 11.91 kB / 0.7196 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.5594, allocations: 3.906 kB / 0.7196 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5594, allocations: 0 / 0.7196 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5594, allocations: 4 kB / 0.7196 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5594, allocations: 0 / 0.7196 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.5597, allocations: 213.5 kB / 0.7198 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5597, allocations: 0 / 0.7198 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.56, allocations: 43.94 kB / 0.7199 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.56, allocations: 0 / 0.7199 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.56, allocations: 4 kB / 0.7199 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.56, allocations: 4 kB / 0.7199 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.56, allocations: 0 / 0.7199 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008012/0.5608, allocations: 355.1 kB / 0.7202 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.5609, allocations: 89.09 kB / 0.7203 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5609, allocations: 384 / 0.7203 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5611, allocations: 35.95 kB / 0.7203 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.5612, allocations: 4 kB / 0.7203 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.5612, allocations: 0 / 0.7203 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.5613, allocations: 99.2 kB / 0.7204 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5613, allocations: 0 / 0.7204 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002239/0.5615, allocations: 16 kB / 0.7205 GB, free: 9.777 MB / 0.4948 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 () * Number of clocked 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.0001507/0.5617, allocations: 103 kB / 0.7205 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.5624, allocations: 239.7 kB / 0.7208 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5624, allocations: 0 / 0.7208 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.5628, allocations: 115.9 kB / 0.7209 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.563, allocations: 8 kB / 0.7209 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.5639, allocations: 300.3 kB / 0.7212 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.5642, allocations: 0.6848 MB / 0.7219 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.104e-05/0.5643, allocations: 23.92 kB / 0.7219 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.5644, allocations: 15.42 kB / 0.7219 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.5644, allocations: 0 / 0.7219 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of Templates: time 0.002769/0.5671, allocations: 0.8033 MB / 0.7227 GB, free: 7.438 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)