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.001528/0.001528, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001873/0.001873, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.001814/0.001814, allocations: 237.4 kB / 261.3 MB, free: 12.67 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.7634/0.7634, allocations: 138.4 MB / 456.3 MB, free: 1.465 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.793e-06/1.793e-06, allocations: 0 / 0.5564 GB, free: 304 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.769e-05, allocations: 5.688 kB / 0.5564 GB, free: 300 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003295/0.003322, allocations: 1.518 MB / 0.5579 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004562/0.003778, allocations: 144.3 kB / 0.558 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.003816, allocations: 0 / 0.558 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.003863, allocations: 3.984 kB / 0.558 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.00393, allocations: 7.938 kB / 0.558 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.004131, allocations: 35.89 kB / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.004217, allocations: 39.86 kB / 0.5581 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004326, allocations: 11.98 kB / 0.5581 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.004374, allocations: 23.92 kB / 0.5581 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.004414, allocations: 19.97 kB / 0.5581 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.00443, allocations: 4 kB / 0.5581 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.004501, allocations: 31.97 kB / 0.5582 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.004529, allocations: 8 kB / 0.5582 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.004548, allocations: 15.92 kB / 0.5582 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.004665, allocations: 59.81 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004667, allocations: 0 / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.004669, allocations: 3.984 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.004673, allocations: 0 / 0.5582 GB, free: 14.36 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.0003556/0.005028, allocations: 388.4 kB / 0.5586 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005061, allocations: 12.69 kB / 0.5586 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.005423, allocations: 84.77 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.005543, allocations: 108.6 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.005555, allocations: 4.375 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.005566, allocations: 4.375 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.005751, allocations: 106.8 kB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005758, allocations: 192 / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.00577, allocations: 4.359 kB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005775, allocations: 4.375 kB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.00583, allocations: 35.86 kB / 0.559 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.006235, allocations: 317.2 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.006425, allocations: 83 kB / 0.5593 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.006456, allocations: 19.75 kB / 0.5594 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.006472, allocations: 0 / 0.5594 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.006495, allocations: 41.27 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006496, allocations: 8 kB / 0.5594 GB, free: 13.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.006672, allocations: 61.62 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.0067, allocations: 55.41 kB / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.006834, allocations: 166 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.006846, allocations: 25.7 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.006887, allocations: 142.8 kB / 0.5598 GB, free: 12.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.006907, allocations: 11.89 kB / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.00694, allocations: 19.38 kB / 0.5599 GB, free: 12.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.007044, allocations: 0.4923 MB / 0.5604 GB, free: 12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.007069, allocations: 4 kB / 0.5604 GB, free: 12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.007094, allocations: 15.94 kB / 0.5604 GB, free: 11.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.007143, allocations: 31.66 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007144, allocations: 0 / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.647e-05/0.007231, allocations: 45.69 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.007243, allocations: 11.94 kB / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007248, allocations: 0 / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.007256, allocations: 0 / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.007349, allocations: 19.97 kB / 0.5605 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007352, allocations: 0 / 0.5605 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.007402, allocations: 19.98 kB / 0.5605 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.00741, allocations: 0 / 0.5605 GB, free: 11.84 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 6.422e-05/0.007474, allocations: 160.5 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.007496, allocations: 7.891 kB / 0.5607 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.007529, allocations: 11.98 kB / 0.5607 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.00753, allocations: 0 / 0.5607 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007532, allocations: 0 / 0.5607 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007535, allocations: 0 / 0.5607 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.007649, allocations: 113.2 kB / 0.5608 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.00765, allocations: 4 kB / 0.5608 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.007718, allocations: 23.97 kB / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007719, allocations: 0 / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.007726, allocations: 0 / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.007728, allocations: 3.938 kB / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007729, allocations: 0 / 0.5608 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.007871, allocations: 208.2 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.007877, allocations: 11.89 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.007889, allocations: 0 / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.007954, allocations: 19.92 kB / 0.561 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.00798, allocations: 7.922 kB / 0.561 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.007986, allocations: 4 kB / 0.561 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.008019, allocations: 123.2 kB / 0.5612 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00802, allocations: 0 / 0.5612 GB, free: 11.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.008171, allocations: 16 kB / 0.5612 GB, free: 11.09 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 9.717e-05/0.008268, allocations: 95.23 kB / 0.5613 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.00837, allocations: 31.67 kB / 0.5613 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.008371, allocations: 4 kB / 0.5613 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.008409, allocations: 23.61 kB / 0.5613 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.008601, allocations: 18.58 kB / 0.5613 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.009094, allocations: 165.2 kB / 0.5615 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.009131, allocations: 59.34 kB / 0.5616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.00917, allocations: 11.98 kB / 0.5616 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.00924, allocations: 70.2 kB / 0.5616 GB, free: 10.55 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009241, allocations: 0 / 0.5616 GB, free: 10.55 MB / 490.7 MB Notification: Performance of Templates: time 0.002443/0.01168, allocations: 1.06 MB / 0.5627 GB, free: 9.496 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.6866038888692856]