Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001124/0.001124, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001147/0.001147, allocations: 173 kB / 23.28 MB, free: 1.215 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.015/1.015, allocations: 177.1 MB / 203.7 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.001719/0.001719, allocations: 240.7 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.72/0.72, allocations: 138.4 MB / 455.5 MB, free: 1.43 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.012e-05, allocations: 6.25 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002308/0.002338, allocations: 1.518 MB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003218, allocations: 0.6007 MB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.003275, allocations: 0 / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.0033, allocations: 3.938 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.003349, allocations: 3.938 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003604, allocations: 59.75 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.003687, allocations: 35.86 kB / 0.5578 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.003764, allocations: 7.984 kB / 0.5578 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.003885, allocations: 23.92 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.003937, allocations: 11.92 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.003954, allocations: 4 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.004091, allocations: 59.88 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.004104, allocations: 0 / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.004125, allocations: 8 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004288, allocations: 71.78 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004291, allocations: 0 / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004292, allocations: 4 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004296, allocations: 4 kB / 0.558 GB, free: 13.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003647/0.004661, allocations: 376.4 kB / 0.5583 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.004706, allocations: 12.75 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.004837, allocations: 12.92 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.004987, allocations: 124.4 kB / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004998, allocations: 384 / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.005005, allocations: 384 / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.005113, allocations: 54.95 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005121, allocations: 192 / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.005128, allocations: 384 / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005135, allocations: 7.938 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.005161, allocations: 4 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.005418, allocations: 236.4 kB / 0.5588 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.005473, allocations: 31 kB / 0.5588 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.005491, allocations: 11.75 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.0059, allocations: 87.83 kB / 0.5589 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.005927, allocations: 37.39 kB / 0.5589 GB, free: 12.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.005929, allocations: 0 / 0.5589 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.006085, allocations: 49.58 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.006113, allocations: 55.34 kB / 0.559 GB, free: 12.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/0.006208, allocations: 169.9 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006219, allocations: 25.7 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.006275, allocations: 134.9 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.006292, allocations: 3.953 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.006325, allocations: 19.38 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.006485, allocations: 0.4963 MB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.0065, allocations: 0 / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.00651, allocations: 0 / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.006544, allocations: 11.69 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006546, allocations: 4 kB / 0.5599 GB, free: 11.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.108e-05/0.006627, allocations: 49.62 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.006644, allocations: 4 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.006651, allocations: 3.938 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006666, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.006743, allocations: 8.094 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.006746, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.006769, allocations: 7.984 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.006774, allocations: 0 / 0.5599 GB, free: 11.61 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 (2): * Single equations (assignments): 2 * 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 8.289e-05/0.006857, allocations: 152.6 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.006888, allocations: 11.94 kB / 0.5601 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.007016, allocations: 49.25 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007019, allocations: 0 / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.007021, allocations: 0 / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.007026, allocations: 7.938 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.00717, allocations: 101.3 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007172, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.007212, allocations: 4 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007215, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.00722, allocations: 3.938 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.007223, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.007228, allocations: 3.938 kB / 0.5602 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.007379, allocations: 195.9 kB / 0.5604 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007391, allocations: 7.938 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.007402, allocations: 0 / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.007457, allocations: 8.016 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.007484, allocations: 3.938 kB / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.007489, allocations: 4 kB / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.007545, allocations: 135.4 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007545, allocations: 0 / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.007812, allocations: 16 kB / 0.5606 GB, free: 10.86 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 (2): * Single equations (assignments): 2 * 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.0001745/0.007987, allocations: 115.2 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.008062, allocations: 15.69 kB / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008064, allocations: 0 / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.008087, allocations: 15.75 kB / 0.5607 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.008322, allocations: 6.562 kB / 0.5607 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.008845, allocations: 141.2 kB / 0.5609 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.008891, allocations: 59.34 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.703e-05/0.008918, allocations: 0 / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.008968, allocations: 70.2 kB / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008969, allocations: 0 / 0.561 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Templates: time 0.003522/0.01249, allocations: 0.7827 MB / 0.5618 GB, free: 9.609 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5947674238123]