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.001115/0.001115, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001794/0.001794, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.988/0.988, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001682/0.001682, allocations: 252.8 kB / 260.5 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.7298/0.7298, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.463e-06/1.463e-06, allocations: 3.938 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.242e-05, allocations: 6.25 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002121/0.002143, allocations: 1.514 MB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000438/0.002581, allocations: 140.4 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.002631, allocations: 4 kB / 0.5572 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.002692, allocations: 3.938 kB / 0.5572 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.002785, allocations: 3.984 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.003077, allocations: 35.83 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.003187, allocations: 39.92 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.003324, allocations: 11.98 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.003392, allocations: 27.91 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.003433, allocations: 19.92 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.00345, allocations: 4 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.003525, allocations: 31.97 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.003544, allocations: 11.94 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.003563, allocations: 11.98 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003679, allocations: 63.8 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003681, allocations: 0 / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003682, allocations: 0 / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.003685, allocations: 0 / 0.5575 GB, free: 14.32 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.0003323/0.004017, allocations: 380.4 kB / 0.5579 GB, free: 13.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004057, allocations: 12.75 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.004404, allocations: 88.77 kB / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.345e-05/0.004487, allocations: 112.6 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.004497, allocations: 384 / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.00451, allocations: 12.31 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.00469, allocations: 94.88 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004698, allocations: 192 / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.00471, allocations: 12.36 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.004715, allocations: 384 / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.004769, allocations: 35.92 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.005172, allocations: 309.2 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.005355, allocations: 83.06 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.005385, allocations: 23.62 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.005404, allocations: 4 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.005426, allocations: 41.33 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.005427, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.005606, allocations: 69.75 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.005632, allocations: 55.41 kB / 0.5588 GB, free: 12.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.005702, allocations: 170 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.005715, allocations: 25.7 kB / 0.559 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.005763, allocations: 130.9 kB / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.005785, allocations: 15.91 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.005822, allocations: 27.36 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.005941, allocations: 496.1 kB / 0.5596 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.005971, allocations: 11.98 kB / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.005997, allocations: 11.98 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.006052, allocations: 27.67 kB / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006053, allocations: 0 / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.777e-05/0.006141, allocations: 53.62 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.006155, allocations: 7.938 kB / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006159, allocations: 4 kB / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.006169, allocations: 0 / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.006287, allocations: 23.97 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.00629, allocations: 0 / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.006335, allocations: 11.98 kB / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.006341, allocations: 0 / 0.5597 GB, free: 11.81 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.309e-05/0.006404, allocations: 152.6 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.006424, allocations: 11.89 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.006453, allocations: 11.98 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.006457, allocations: 8 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.006458, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006461, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.006569, allocations: 117.2 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006572, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.006627, allocations: 19.97 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00663, allocations: 3.938 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006637, allocations: 0 / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.00664, allocations: 7.875 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.006642, allocations: 0 / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.006794, allocations: 203.9 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.006804, allocations: 7.953 kB / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006815, allocations: 0 / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.006876, allocations: 15.92 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.006901, allocations: 4 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.006907, allocations: 3.984 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.006942, allocations: 127.2 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006942, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001376/0.007079, allocations: 12 kB / 0.5604 GB, free: 11.06 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.12e-05/0.007171, allocations: 95.25 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.007261, allocations: 43.59 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.007263, allocations: 0 / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.007294, allocations: 15.69 kB / 0.5606 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.007466, allocations: 18.95 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.007777, allocations: 169.6 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.007813, allocations: 67.34 kB / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.007845, allocations: 4 kB / 0.5608 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.007916, allocations: 74.19 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007916, allocations: 4 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of Templates: time 0.002302/0.01022, allocations: 1.035 MB / 0.5619 GB, free: 9.484 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.503829157911241]