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.0009647/0.0009647, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001635/0.001635, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9675/0.9675, 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.001508/0.001508, allocations: 241.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.7305/0.7305, allocations: 138.4 MB / 455.5 MB, free: 1.461 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 1.452e-06/1.452e-06, allocations: 0 / 0.5557 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.149e-05, allocations: 2.312 kB / 0.5557 GB, free: 232 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.0009299/0.0009414, allocations: 0.6001 MB / 0.5563 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.001127, allocations: 47.86 kB / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.001142, allocations: 0 / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.001156, allocations: 3.938 kB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.001161, allocations: 0 / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.001352, allocations: 11.94 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.001386, allocations: 7.984 kB / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.001415, allocations: 0 / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.001438, allocations: 0 / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.00146, allocations: 7.938 kB / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.00147, allocations: 0 / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.001545, allocations: 15.98 kB / 0.5563 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.001557, allocations: 7.984 kB / 0.5564 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.828e-06/0.001567, allocations: 0 / 0.5564 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.001634, allocations: 19.97 kB / 0.5564 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.001636, allocations: 0 / 0.5564 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001637, allocations: 3.938 kB / 0.5564 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.00164, allocations: 0 / 0.5564 GB, free: 15.5 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.0002056/0.001845, allocations: 344.4 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.001882, allocations: 8.75 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.00205, allocations: 16.92 kB / 0.5567 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.285e-05/0.002103, allocations: 108.6 kB / 0.5568 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.002111, allocations: 384 / 0.5568 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.002117, allocations: 4.375 kB / 0.5568 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.0022, allocations: 42.95 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002206, allocations: 192 / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.002211, allocations: 4.375 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.002217, allocations: 4.375 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.002232, allocations: 7.922 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.634e-05/0.002308, allocations: 93.27 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.829e-05/0.002336, allocations: 31 kB / 0.557 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.002348, allocations: 7.688 kB / 0.557 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.002366, allocations: 4.094 kB / 0.557 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.002386, allocations: 37.39 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.002386, allocations: 0 / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.04e-05/0.002477, allocations: 37.62 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.002498, allocations: 51.41 kB / 0.5571 GB, free: 14.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.496e-05/0.002533, allocations: 150.2 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.00254, allocations: 25.7 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.002565, allocations: 131 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.002587, allocations: 8.234 kB / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.002606, allocations: 15.38 kB / 0.5575 GB, free: 14.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.002707, allocations: 0.4883 MB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.002716, allocations: 0 / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.002723, allocations: 3.984 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.002747, allocations: 15.69 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.002749, allocations: 0 / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.562e-05/0.002784, allocations: 37.7 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.002795, allocations: 8 kB / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.002798, allocations: 0 / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.002807, allocations: 0 / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.00285, allocations: 7.984 kB / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.002853, allocations: 0 / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.002865, allocations: 0 / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.00287, allocations: 0 / 0.558 GB, free: 13.63 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.48e-05/0.002925, allocations: 156.5 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-06/0.00293, allocations: 4 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.002954, allocations: 7.031 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-07/0.002954, allocations: 0 / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.002955, allocations: 0 / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.002959, allocations: 3.984 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.784e-05/0.003007, allocations: 97.19 kB / 0.5583 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.003007, allocations: 4 kB / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.003017, allocations: 0 / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003017, allocations: 0 / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.003021, allocations: 0 / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003021, allocations: 4 kB / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.003022, allocations: 0 / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.419e-05/0.003076, allocations: 80.31 kB / 0.5583 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-06/0.003079, allocations: 4 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.003084, allocations: 0 / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.003093, allocations: 0 / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-06/0.003101, allocations: 4 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.003103, allocations: 4 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.003127, allocations: 119.2 kB / 0.5585 GB, free: 13.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003127, allocations: 0 / 0.5585 GB, free: 13.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001062/0.003233, allocations: 3.938 kB / 0.5585 GB, free: 13.09 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 6.38e-05/0.003297, allocations: 99.27 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.756e-05/0.003345, allocations: 11.69 kB / 0.5586 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.003346, allocations: 0 / 0.5586 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.517e-06/0.003355, allocations: 19.61 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.354e-05/0.003439, allocations: 10.52 kB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001293/0.003568, allocations: 91.92 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.397e-05/0.003592, allocations: 55.36 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.003609, allocations: 4.125 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.003643, allocations: 66.2 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.003643, allocations: 0 / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Templates: time 0.001376/0.005019, allocations: 273.1 kB / 0.5591 GB, free: 12.41 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.3956777779385448]