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.001125/0.001125, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009405/0.0009405, allocations: 169 kB / 23.02 MB, free: 1.551 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.9897/0.9897, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.00168/0.00168, allocations: 242 kB / 260.2 MB, free: 12.82 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.7558/0.7558, allocations: 138.4 MB / 455.2 MB, free: 29.98 MB / 410.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.673e-06/1.673e-06, allocations: 0 / 0.5551 GB, free: 160 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.21e-05, allocations: 2.312 kB / 0.5551 GB, free: 156 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001909/0.001931, allocations: 1.519 MB / 0.5566 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.002709, allocations: 0.5967 MB / 0.5572 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.002765, allocations: 4 kB / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.002796, allocations: 7.938 kB / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.002844, allocations: 7.922 kB / 0.5572 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.003127, allocations: 59.75 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003229, allocations: 27.86 kB / 0.5573 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.003316, allocations: 4 kB / 0.5573 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.00343, allocations: 31.91 kB / 0.5573 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.003471, allocations: 11.92 kB / 0.5573 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003486, allocations: 0 / 0.5573 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.003582, allocations: 55.89 kB / 0.5574 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.003595, allocations: 11.98 kB / 0.5574 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.003615, allocations: 7.938 kB / 0.5574 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.003748, allocations: 71.84 kB / 0.5575 GB, free: 13.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00375, allocations: 0 / 0.5575 GB, free: 13.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00375, allocations: 0 / 0.5575 GB, free: 13.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003754, allocations: 0 / 0.5575 GB, free: 13.71 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.0003385/0.004092, allocations: 372.5 kB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.004133, allocations: 9.938 kB / 0.5578 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.00425, allocations: 16.88 kB / 0.5578 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.004382, allocations: 124.5 kB / 0.558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.004392, allocations: 8.375 kB / 0.558 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.004402, allocations: 8.25 kB / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004506, allocations: 46.95 kB / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.004516, allocations: 192 / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004527, allocations: 384 / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.004537, allocations: 11.88 kB / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.004564, allocations: 0 / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.004923, allocations: 255.8 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.004977, allocations: 31 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.005, allocations: 15.73 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.005291, allocations: 83.91 kB / 0.5584 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.005313, allocations: 37.33 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.005314, allocations: 0 / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.005478, allocations: 49.64 kB / 0.5585 GB, free: 12.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005513, allocations: 55.34 kB / 0.5585 GB, free: 12.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.005612, allocations: 165.9 kB / 0.5587 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.005627, allocations: 33.83 kB / 0.5587 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.00568, allocations: 134.9 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.0057, allocations: 7.938 kB / 0.5589 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.005734, allocations: 19.38 kB / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.005844, allocations: 496.1 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.005858, allocations: 4 kB / 0.5594 GB, free: 11.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.005869, allocations: 3.984 kB / 0.5594 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.005898, allocations: 11.69 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.0059, allocations: 4 kB / 0.5594 GB, free: 11.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.498e-05/0.005955, allocations: 45.7 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005968, allocations: 7.938 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005972, allocations: 0 / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.005986, allocations: 0 / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.00605, allocations: 11.98 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.006056, allocations: 7.984 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.00607, allocations: 0 / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.006074, allocations: 0 / 0.5594 GB, free: 11.47 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 5.645e-05/0.00613, allocations: 156.6 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.006145, allocations: 7.891 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.006238, allocations: 53.33 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.006242, allocations: 4 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.006245, allocations: 3.938 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006248, allocations: 0 / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.00637, allocations: 116.6 kB / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006371, allocations: 0 / 0.5598 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.006404, allocations: 7.938 kB / 0.5598 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006405, allocations: 0 / 0.5598 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.006416, allocations: 7.938 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006417, allocations: 0 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006418, allocations: 32 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.006522, allocations: 191.9 kB / 0.56 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.006529, allocations: 7.891 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006541, allocations: 3.938 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.006571, allocations: 4 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.0066, allocations: 7.984 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.006602, allocations: 0 / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.006639, allocations: 131.5 kB / 0.5601 GB, free: 10.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006639, allocations: 0 / 0.5601 GB, free: 10.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.006792, allocations: 19.92 kB / 0.5601 GB, free: 10.7 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.0001232/0.006915, allocations: 119.2 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.006992, allocations: 11.69 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006994, allocations: 0 / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.007009, allocations: 11.69 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.00716, allocations: 4 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.007643, allocations: 145.2 kB / 0.5604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.007683, allocations: 55.48 kB / 0.5605 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.007703, allocations: 4 kB / 0.5605 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.007731, allocations: 12.48 kB / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007731, allocations: 0 / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of Templates: time 0.002252/0.009984, allocations: 0.7104 MB / 0.5612 GB, free: 9.578 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.796774940099567]