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.001002/0.001002, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000978/0.000978, allocations: 173 kB / 23.49 MB, free: 1.059 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.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001642/0.001642, allocations: 229.5 kB / 260.5 MB, free: 12.89 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.7702/0.7702, allocations: 138.4 MB / 455.4 MB, free: 1.555 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.352e-06/1.352e-06, allocations: 0 / 0.5551 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.112e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001289/0.00131, allocations: 0.604 MB / 0.5557 GB, free: 232 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.004543, allocations: 43.81 kB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.00456, allocations: 0 / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.004575, allocations: 0 / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.004581, allocations: 0 / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.0048, allocations: 19.86 kB / 0.5557 GB, free: 168 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.203e-05/0.004842, allocations: 3.984 kB / 0.5557 GB, free: 164 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.004878, allocations: 3.984 kB / 0.5557 GB, free: 160 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.004902, allocations: 15.94 kB / 0.5558 GB, free: 144 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.004925, allocations: 0 / 0.5558 GB, free: 144 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.004937, allocations: 0 / 0.5558 GB, free: 144 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.005025, allocations: 15.98 kB / 0.5558 GB, free: 128 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.005036, allocations: 4 kB / 0.5558 GB, free: 124 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.00505, allocations: 0 / 0.5558 GB, free: 124 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.049e-05/0.00513, allocations: 15.97 kB / 0.5558 GB, free: 108 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005134, allocations: 4 kB / 0.5558 GB, free: 104 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005134, allocations: 0 / 0.5558 GB, free: 104 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005138, allocations: 0 / 0.5558 GB, free: 104 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.0002575/0.005395, allocations: 336.4 kB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.005432, allocations: 12.75 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.005638, allocations: 16.91 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.949e-05/0.005707, allocations: 104.6 kB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005723, allocations: 8.375 kB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.00573, allocations: 384 / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.005836, allocations: 54.88 kB / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.005842, allocations: 192 / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00585, allocations: 384 / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005857, allocations: 384 / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.005878, allocations: 11.92 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.863e-05/0.005977, allocations: 108.6 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.006016, allocations: 23.06 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.006036, allocations: 15.78 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.00605, allocations: 0 / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.006073, allocations: 41.33 kB / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.006073, allocations: 0 / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.006192, allocations: 33.69 kB / 0.5565 GB, free: 15.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.006224, allocations: 59.53 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.006271, allocations: 142.2 kB / 0.5567 GB, free: 14.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.006281, allocations: 29.64 kB / 0.5568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.006313, allocations: 130.9 kB / 0.5569 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.006338, allocations: 4.297 kB / 0.5569 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.006369, allocations: 23.38 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.006483, allocations: 496.1 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.006497, allocations: 0 / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-06/0.006506, allocations: 4 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.006542, allocations: 19.67 kB / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006544, allocations: 0 / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.032e-05/0.006594, allocations: 33.7 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006606, allocations: 6.969 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.00661, allocations: 0 / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006621, allocations: 0 / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.006671, allocations: 7.984 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006676, allocations: 0 / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.006692, allocations: 3.938 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.006696, allocations: 0 / 0.5574 GB, free: 14.21 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 6.008e-05/0.006756, allocations: 164.6 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-06/0.006763, allocations: 0 / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.006781, allocations: 3 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006782, allocations: 0 / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006785, allocations: 3.938 kB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.006787, allocations: 0 / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.715e-05/0.006844, allocations: 116.6 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006845, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.006861, allocations: 4 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006862, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.006867, allocations: 4 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006868, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006869, allocations: 0 / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.353e-05/0.006932, allocations: 76.38 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-06/0.006935, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.006943, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.006957, allocations: 4 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.006969, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.00697, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.006999, allocations: 123.1 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006999, allocations: 4.031 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001204/0.008203, allocations: 7.922 kB / 0.5579 GB, free: 13.64 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.586e-05/0.008289, allocations: 99.19 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.008376, allocations: 11.69 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008377, allocations: 0 / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.00839, allocations: 7.688 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.008544, allocations: 12 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.008752, allocations: 96.05 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.008786, allocations: 51.36 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.726e-05/0.008813, allocations: 3.984 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.008839, allocations: 12.5 kB / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/0.008839, allocations: 0 / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of Templates: time 0.002013/0.01085, allocations: 263.4 kB / 0.5585 GB, free: 13.04 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.7114474310074]