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.001335/0.001335, allocations: 88.72 kB / 19.44 MB, free: 352 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.001574/0.001574, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.456/1.456, allocations: 177.2 MB / 203.1 MB, free: 5.59 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.002586/0.002586, allocations: 226.6 kB / 259.8 MB, free: 12.86 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.066/1.066, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.573e-06/1.573e-06, allocations: 0 / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.001e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.002382/0.002412, allocations: 0.5849 MB / 0.555 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.002717, allocations: 47.75 kB / 0.555 GB, free: 160 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.002735, allocations: 4 kB / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.002746, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.002752, allocations: 0 / 0.555 GB, free: 156 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003012, allocations: 11.98 kB / 0.555 GB, free: 144 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.003061, allocations: 11.92 kB / 0.555 GB, free: 132 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.003106, allocations: 3.984 kB / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.003131, allocations: 0 / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.003157, allocations: 0 / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.003169, allocations: 0 / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.003298, allocations: 23.92 kB / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.003311, allocations: 4 kB / 0.5551 GB, free: 100 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.003333, allocations: 0 / 0.5551 GB, free: 100 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003454, allocations: 19.97 kB / 0.5551 GB, free: 80 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.003456, allocations: 0 / 0.5551 GB, free: 80 kB / 474.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003457, allocations: 0 / 0.5551 GB, free: 80 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003461, allocations: 0 / 0.5551 GB, free: 80 kB / 474.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.0003994/0.00386, allocations: 238.4 kB / 0.5553 GB, free: 15.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.003909, allocations: 12.75 kB / 0.5553 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.004265, allocations: 16.91 kB / 0.5553 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.004404, allocations: 109.8 kB / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.00442, allocations: 4.375 kB / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.00443, allocations: 384 / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.00459, allocations: 34.25 kB / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.004605, allocations: 4.172 kB / 0.5555 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004615, allocations: 4.312 kB / 0.5555 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00462, allocations: 4.312 kB / 0.5555 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.004763, allocations: 15.92 kB / 0.5555 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.00495, allocations: 101.3 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.005079, allocations: 26.59 kB / 0.5556 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.005159, allocations: 8.922 kB / 0.5556 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.005181, allocations: 0 / 0.5556 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.00524, allocations: 30.56 kB / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.005242, allocations: 0 / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003531/0.005595, allocations: 53.61 kB / 0.5557 GB, free: 15.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.005656, allocations: 51.41 kB / 0.5558 GB, free: 15.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.005735, allocations: 89.98 kB / 0.5559 GB, free: 15.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.005764, allocations: 33.7 kB / 0.5559 GB, free: 15.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.005826, allocations: 80.14 kB / 0.556 GB, free: 15.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.005857, allocations: 3.953 kB / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.005907, allocations: 9.719 kB / 0.556 GB, free: 15.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.006175, allocations: 326.8 kB / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.006247, allocations: 0 / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.006317, allocations: 7.984 kB / 0.5563 GB, free: 14.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.00648, allocations: 24.84 kB / 0.5563 GB, free: 14.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006482, allocations: 0 / 0.5563 GB, free: 14.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002183/0.006701, allocations: 37.69 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.006722, allocations: 8 kB / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006727, allocations: 0 / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.006751, allocations: 4 kB / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.006842, allocations: 4 kB / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006847, allocations: 0 / 0.5564 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.00691, allocations: 7.922 kB / 0.5564 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006917, allocations: 4.031 kB / 0.5564 GB, free: 14.57 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 0.0001393/0.007057, allocations: 113.8 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.007072, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.007101, allocations: 3 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007103, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.007107, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00711, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.007247, allocations: 105.2 kB / 0.5566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007249, allocations: 3.938 kB / 0.5566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.007323, allocations: 7.938 kB / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.007326, allocations: 4 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007333, allocations: 0 / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.007335, allocations: 0 / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007336, allocations: 0 / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.007587, allocations: 73.05 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.007592, allocations: 0 / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.007606, allocations: 0 / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.007661, allocations: 4 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.007674, allocations: 0 / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.007683, allocations: 8.016 kB / 0.5567 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.007749, allocations: 75.28 kB / 0.5568 GB, free: 14.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.00775, allocations: 0 / 0.5568 GB, free: 14.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.008107, allocations: 4 kB / 0.5568 GB, free: 14.12 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 0.0001506/0.008258, allocations: 95.19 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.008461, allocations: 15.92 kB / 0.5569 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008463, allocations: 0 / 0.5569 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.008541, allocations: 8.062 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.008775, allocations: 10.91 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.009168, allocations: 90.27 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.822e-05/0.009246, allocations: 55.36 kB / 0.557 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.009288, allocations: 0 / 0.557 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.009329, allocations: 12.56 kB / 0.557 GB, free: 13.79 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009329, allocations: 0 / 0.557 GB, free: 13.79 MB / 490.7 MB Notification: Performance of Templates: time 0.003326/0.01266, allocations: 263.7 kB / 0.5573 GB, free: 13.54 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.421857384033501]