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.001745/0.001745, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002694/0.002694, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.003287/0.003287, allocations: 230.2 kB / 259.8 MB, free: 12.85 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 1.172/1.172, allocations: 138.5 MB / 454.7 MB, free: 1.523 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.402e-06/1.402e-06, allocations: 0 / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.922e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003013/0.003042, allocations: 1.483 MB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004267/0.003469, allocations: 132.5 kB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.0035, allocations: 0 / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.00356, allocations: 7.922 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.003624, allocations: 3.938 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.003883, allocations: 35.83 kB / 0.556 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003998, allocations: 39.92 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004114, allocations: 19.92 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.004182, allocations: 23.97 kB / 0.556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.004229, allocations: 23.92 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00425, allocations: 4 kB / 0.5561 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.004344, allocations: 27.97 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.004366, allocations: 11.94 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.004396, allocations: 15.97 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004564, allocations: 67.78 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004567, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004568, allocations: 0 / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004572, allocations: 0 / 0.5562 GB, free: 14.98 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.00056/0.005132, allocations: 392.1 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.005174, allocations: 8.75 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.006063, allocations: 152.6 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.006186, allocations: 112.6 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.006201, allocations: 4.375 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.006223, allocations: 8.312 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.006662, allocations: 162.1 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006673, allocations: 192 / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.006688, allocations: 384 / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006692, allocations: 4.312 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.007302, allocations: 211.7 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.008184, allocations: 392.5 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.008995, allocations: 210.8 kB / 0.5578 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.009246, allocations: 75.67 kB / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.009278, allocations: 11.94 kB / 0.5579 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.009314, allocations: 37.39 kB / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.009315, allocations: 0 / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0008708/0.01019, allocations: 233.4 kB / 0.5581 GB, free: 12.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.01023, allocations: 51.41 kB / 0.5582 GB, free: 12.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01037, allocations: 169.9 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.0104, allocations: 33.7 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.01049, allocations: 134.9 kB / 0.5585 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.01052, allocations: 11.91 kB / 0.5585 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.01058, allocations: 27.36 kB / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.01085, allocations: 496.1 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.0111, allocations: 67.92 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.01133, allocations: 67.92 kB / 0.5591 GB, free: 11.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.01178, allocations: 119.6 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01178, allocations: 0 / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005307/0.01231, allocations: 169.4 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01233, allocations: 4 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01233, allocations: 4 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01235, allocations: 4 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.01254, allocations: 19.97 kB / 0.5594 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.01254, allocations: 0 / 0.5594 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.01268, allocations: 11.98 kB / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.0127, allocations: 7.984 kB / 0.5594 GB, free: 11.43 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 0.0001287/0.01283, allocations: 160.6 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.01287, allocations: 7.891 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.01292, allocations: 16 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.01292, allocations: 3.938 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01293, allocations: 0 / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.01294, allocations: 7.984 kB / 0.5596 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.01316, allocations: 148.6 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01316, allocations: 0 / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.01334, allocations: 23.97 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.01334, allocations: 4.266 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01336, allocations: 0 / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01336, allocations: 7.938 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01336, allocations: 320 / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.014, allocations: 311.8 kB / 0.5601 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01401, allocations: 11.88 kB / 0.5601 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01404, allocations: 3.938 kB / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.01419, allocations: 15.98 kB / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01424, allocations: 3.984 kB / 0.5601 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01425, allocations: 4 kB / 0.5601 GB, free: 10.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.463e-05/0.01434, allocations: 135.2 kB / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01434, allocations: 0 / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01462, allocations: 12 kB / 0.5603 GB, free: 10.5 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.0001332/0.01475, allocations: 95.23 kB / 0.5604 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.01531, allocations: 155.5 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01531, allocations: 4 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.01558, allocations: 79.61 kB / 0.5606 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01583, allocations: 8 kB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.01661, allocations: 229.1 kB / 0.5608 GB, free: 9.902 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.083e-05/0.01669, allocations: 71.33 kB / 0.5609 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.01676, allocations: 11.98 kB / 0.5609 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.01683, allocations: 12.5 kB / 0.5609 GB, free: 9.789 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01683, allocations: 4 kB / 0.5609 GB, free: 9.785 MB / 490.7 MB Notification: Performance of Templates: time 0.004027/0.02085, allocations: 0.9625 MB / 0.5619 GB, free: 8.82 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: 5.913925125962123]