Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 288 kB / 304.8 MB, free: 3.566 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 180.9 MB / 0.5282 GB, free: 1.922 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 95.84 kB / 0.7283 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5325, allocations: 94.16 MB / 0.8203 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.0023/0.5348, allocations: 1.483 MB / 0.8217 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.5352, allocations: 156.8 kB / 0.8219 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.5352, allocations: 5.188 kB / 0.8219 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.5353, allocations: 7.219 kB / 0.8219 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.5353, allocations: 9.656 kB / 0.8219 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.5356, allocations: 29.36 kB / 0.8219 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.5356, allocations: 35.88 kB / 0.822 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.5358, allocations: 16.94 kB / 0.822 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.5358, allocations: 18.28 kB / 0.822 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.5358, allocations: 20.95 kB / 0.822 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.5359, allocations: 4.281 kB / 0.822 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.5359, allocations: 28.16 kB / 0.8221 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.536, allocations: 13.45 kB / 0.8221 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.536, allocations: 25 kB / 0.8221 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.5361, allocations: 60.61 kB / 0.8222 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5361, allocations: 0 / 0.8222 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5361, allocations: 0 / 0.8222 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.5361, allocations: 1.062 kB / 0.8222 GB, free: 6.508 MB / 0.5762 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.0003907/0.5365, allocations: 363.9 kB / 0.8225 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5365, allocations: 9.906 kB / 0.8225 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.5376, allocations: 206 kB / 0.8227 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.5377, allocations: 175.8 kB / 0.8229 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5377, allocations: 6.328 kB / 0.8229 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.5378, allocations: 3 kB / 0.8229 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.5383, allocations: 203.8 kB / 0.8231 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5383, allocations: 1.188 kB / 0.8231 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5384, allocations: 3.938 kB / 0.8231 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.5384, allocations: 1.297 kB / 0.8231 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.5392, allocations: 278.5 kB / 0.8233 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.5401, allocations: 437.3 kB / 0.8238 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.5411, allocations: 282.4 kB / 0.824 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.5415, allocations: 103.2 kB / 0.8241 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5415, allocations: 4.609 kB / 0.8241 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.5415, allocations: 30.56 kB / 0.8242 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5415, allocations: 0 / 0.8242 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001106/0.5426, allocations: 314.1 kB / 0.8245 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.5426, allocations: 55.08 kB / 0.8245 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.5427, allocations: 122.7 kB / 0.8246 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5427, allocations: 26.31 kB / 0.8247 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.5428, allocations: 85.5 kB / 0.8247 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5428, allocations: 13.86 kB / 0.8248 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.5428, allocations: 23.5 kB / 0.8248 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.5429, allocations: 320.4 kB / 0.8251 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.5432, allocations: 90.39 kB / 0.8252 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5435, allocations: 96.61 kB / 0.8253 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.5441, allocations: 173.4 kB / 0.8254 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5441, allocations: 0 / 0.8254 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006635/0.5448, allocations: 222.6 kB / 0.8256 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5448, allocations: 2.625 kB / 0.8256 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5448, allocations: 0.6094 kB / 0.8256 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5448, allocations: 3.328 kB / 0.8256 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.5451, allocations: 31 kB / 0.8257 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.5451, allocations: 0 / 0.8257 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.5453, allocations: 34.34 kB / 0.8257 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5453, allocations: 0.7031 kB / 0.8257 GB, free: 4.508 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.5453, allocations: 123.2 kB / 0.8258 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.5454, allocations: 8.438 kB / 0.8258 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.5454, allocations: 19.64 kB / 0.8259 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5454, allocations: 0 / 0.8259 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5454, allocations: 0 / 0.8259 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5454, allocations: 4.562 kB / 0.8259 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.5456, allocations: 208.6 kB / 0.8261 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5456, allocations: 0 / 0.8261 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.5458, allocations: 38.41 kB / 0.8261 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5458, allocations: 0.7031 kB / 0.8261 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5458, allocations: 0.7031 kB / 0.8261 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5458, allocations: 2.594 kB / 0.8261 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5458, allocations: 0 / 0.8261 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.5465, allocations: 314.6 kB / 0.8264 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.5465, allocations: 81.59 kB / 0.8265 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5466, allocations: 0.7031 kB / 0.8265 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.5468, allocations: 33.23 kB / 0.8265 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.5468, allocations: 4.312 kB / 0.8265 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5468, allocations: 0.75 kB / 0.8265 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.5469, allocations: 103.5 kB / 0.8266 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.8266 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002284/0.5471, allocations: 10.44 kB / 0.8266 GB, free: 3.789 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.376e-05/0.5472, allocations: 100.2 kB / 0.8267 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.5479, allocations: 198.2 kB / 0.8269 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5479, allocations: 0 / 0.8269 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.5482, allocations: 101.9 kB / 0.827 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5485, allocations: 9.484 kB / 0.827 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.5493, allocations: 275.2 kB / 0.8273 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.5494, allocations: 0.6948 MB / 0.828 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.5495, allocations: 20.22 kB / 0.828 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.5495, allocations: 12.78 kB / 0.828 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.5495, allocations: 4 kB / 0.828 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.003594/0.5531, allocations: 0.9419 MB / 0.8289 GB, free: 2.711 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.117443012073636]