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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002571/0.002571, allocations: 237.9 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7465/0.7465, allocations: 138.4 MB / 455.4 MB, free: 1.508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.984e-06/1.984e-06, allocations: 0 / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.999e-05, allocations: 13.77 kB / 0.555 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003122/0.003152, allocations: 1.514 MB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005118/0.003664, allocations: 140.3 kB / 0.5567 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.003714, allocations: 0 / 0.5567 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.407e-05/0.003768, allocations: 4 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.003846, allocations: 11.92 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.004131, allocations: 35.84 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.004252, allocations: 39.91 kB / 0.5567 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004387, allocations: 19.97 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.004451, allocations: 23.92 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.004497, allocations: 11.98 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.004516, allocations: 4 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.004619, allocations: 31.97 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.004642, allocations: 11.92 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.00467, allocations: 12 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004839, allocations: 63.8 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004842, allocations: 0 / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.004844, allocations: 0 / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004848, allocations: 0 / 0.5569 GB, free: 14.9 MB / 490.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.0004612/0.00531, allocations: 388.4 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.005354, allocations: 8.75 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.006143, allocations: 160.6 kB / 0.5574 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.006264, allocations: 112.6 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.00628, allocations: 4.375 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.006298, allocations: 384 / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.006658, allocations: 130.8 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.006667, allocations: 192 / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.006683, allocations: 384 / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006693, allocations: 384 / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.006828, allocations: 47.92 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.007536, allocations: 344.5 kB / 0.5581 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.007913, allocations: 94.98 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.007979, allocations: 23.69 kB / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.008009, allocations: 7.938 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.008038, allocations: 41.33 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.00804, allocations: 0 / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003221/0.008362, allocations: 73.62 kB / 0.5583 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.008401, allocations: 51.41 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.008501, allocations: 165.9 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008518, allocations: 25.7 kB / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.008585, allocations: 134.9 kB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.008616, allocations: 15.89 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.008673, allocations: 19.38 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.008824, allocations: 0.4884 MB / 0.5592 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.008881, allocations: 15.98 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.008936, allocations: 8.188 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.009035, allocations: 39.69 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009037, allocations: 0 / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001691/0.009206, allocations: 57.62 kB / 0.5593 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.009225, allocations: 8 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00923, allocations: 0 / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.009245, allocations: 0 / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.009413, allocations: 19.97 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.009419, allocations: 4 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.009513, allocations: 15.97 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.009525, allocations: 4.312 kB / 0.5593 GB, free: 12.22 MB / 490.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 () * 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 9.688e-05/0.009622, allocations: 160.5 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.009674, allocations: 11.89 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.009715, allocations: 4 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009718, allocations: 0 / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.009722, allocations: 0 / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.009725, allocations: 8 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.009908, allocations: 136.5 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.009911, allocations: 4 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01004, allocations: 23.97 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01004, allocations: 7.875 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01005, allocations: 0 / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01005, allocations: 0 / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01006, allocations: 4 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01032, allocations: 199.9 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.01033, allocations: 7.953 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.01035, allocations: 7.938 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.01049, allocations: 23.91 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.01053, allocations: 0 / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.01054, allocations: 4 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.0106, allocations: 131.2 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0106, allocations: 0 / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01088, allocations: 16 kB / 0.56 GB, free: 11.42 MB / 490.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 () * 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 0.0001482/0.01102, allocations: 91.25 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.0112, allocations: 43.67 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01121, allocations: 0 / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.01128, allocations: 27.61 kB / 0.5602 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.01156, allocations: 11.98 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.01212, allocations: 169.2 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.01217, allocations: 63.34 kB / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.304e-05/0.01225, allocations: 15.98 kB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.01231, allocations: 12.48 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01231, allocations: 0 / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Templates: time 0.003841/0.01615, allocations: 0.9666 MB / 0.5614 GB, free: 9.965 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7657938899938017]