Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.001008/0.001008, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001037/0.001037, allocations: 169 kB / 24.06 MB, free: 456 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 0.993/0.993, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.001649/0.001649, allocations: 242 kB / 261.3 MB, free: 12.63 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.7603/0.7603, allocations: 138.4 MB / 456.3 MB, free: 1.387 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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.5564 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.611e-05, allocations: 2.312 kB / 0.5564 GB, free: 152 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001289/0.001315, allocations: 0.6114 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.001516, allocations: 43.88 kB / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.001534, allocations: 0 / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.00155, allocations: 3.938 kB / 0.5571 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.001557, allocations: 0 / 0.5571 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.001774, allocations: 11.92 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.001813, allocations: 0 / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.001857, allocations: 7.984 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.00188, allocations: 0 / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.001903, allocations: 0 / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.001914, allocations: 4 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.002006, allocations: 19.98 kB / 0.5571 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.002018, allocations: 4 kB / 0.5571 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-06/0.002028, allocations: 0 / 0.5571 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.002111, allocations: 27.89 kB / 0.5571 GB, free: 15.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.002114, allocations: 0 / 0.5571 GB, free: 15.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002115, allocations: 3.938 kB / 0.5571 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.00212, allocations: 0 / 0.5571 GB, free: 15.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002187/0.002339, allocations: 336.4 kB / 0.5575 GB, free: 15.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.002376, allocations: 8.75 kB / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.002551, allocations: 20.91 kB / 0.5575 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.828e-05/0.00261, allocations: 108.6 kB / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.00262, allocations: 384 / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-06/0.002625, allocations: 384 / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.00272, allocations: 46.95 kB / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.002726, allocations: 192 / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.002732, allocations: 384 / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.002737, allocations: 384 / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.002752, allocations: 7.938 kB / 0.5577 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.29e-05/0.002835, allocations: 101.2 kB / 0.5577 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.002871, allocations: 31.03 kB / 0.5578 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.002884, allocations: 7.688 kB / 0.5578 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.002895, allocations: 0 / 0.5578 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.002913, allocations: 33.39 kB / 0.5578 GB, free: 14.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.002913, allocations: 0 / 0.5578 GB, free: 14.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.003015, allocations: 41.69 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.003042, allocations: 51.41 kB / 0.5579 GB, free: 14.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.767e-05/0.003079, allocations: 142.2 kB / 0.558 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.003088, allocations: 29.83 kB / 0.5581 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.003116, allocations: 126.9 kB / 0.5582 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.003144, allocations: 8.297 kB / 0.5582 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.00317, allocations: 23.36 kB / 0.5582 GB, free: 14.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.003279, allocations: 496.1 kB / 0.5587 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.003292, allocations: 0 / 0.5587 GB, free: 13.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.003299, allocations: 4 kB / 0.5587 GB, free: 13.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.003327, allocations: 7.688 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.003329, allocations: 3.984 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.739e-05/0.003377, allocations: 45.64 kB / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.003388, allocations: 4 kB / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.003392, allocations: 0 / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.0034, allocations: 0 / 0.5588 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.398e-05/0.003454, allocations: 4 kB / 0.5588 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.003456, allocations: 0 / 0.5588 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.003469, allocations: 3.984 kB / 0.5588 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.003474, allocations: 4 kB / 0.5588 GB, free: 13.55 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 (1): * Single equations (assignments): 1 * 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.936e-05/0.003533, allocations: 156.5 kB / 0.5589 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.003539, allocations: 8.016 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.003557, allocations: 7 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.003558, allocations: 0 / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.003561, allocations: 4 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.003563, allocations: 0 / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.84e-05/0.003622, allocations: 93.2 kB / 0.559 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.003622, allocations: 0 / 0.559 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.003647, allocations: 11.98 kB / 0.559 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.003648, allocations: 0 / 0.559 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-06/0.003652, allocations: 0 / 0.559 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.003653, allocations: 0 / 0.559 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.003654, allocations: 4 kB / 0.559 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.371e-05/0.003727, allocations: 76.31 kB / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.003732, allocations: 0 / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-06/0.00374, allocations: 0 / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.003756, allocations: 4 kB / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.003766, allocations: 0 / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.003769, allocations: 0 / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.003807, allocations: 119.2 kB / 0.5592 GB, free: 13.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003807, allocations: 0 / 0.5592 GB, free: 13.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.003966, allocations: 4 kB / 0.5592 GB, free: 13.02 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 (1): * Single equations (assignments): 1 * 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 8.867e-05/0.004055, allocations: 103.3 kB / 0.5593 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.00412, allocations: 11.69 kB / 0.5593 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.004122, allocations: 0 / 0.5593 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.004132, allocations: 11.62 kB / 0.5594 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.118e-05/0.004223, allocations: 7.938 kB / 0.5594 GB, free: 12.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.004387, allocations: 91.92 kB / 0.5594 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.004413, allocations: 55.42 kB / 0.5595 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.004433, allocations: 4 kB / 0.5595 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.004471, allocations: 70.2 kB / 0.5596 GB, free: 12.61 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004472, allocations: 0 / 0.5596 GB, free: 12.61 MB / 490.7 MB Notification: Performance of Templates: time 0.00163/0.006101, allocations: 283.9 kB / 0.5598 GB, free: 12.33 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5350079340860248]