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.001839/0.001839, allocations: 85.48 kB / 19.44 MB, free: 344 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.001993/0.001993, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.003242/0.003242, allocations: 230.2 kB / 259.8 MB, free: 12.84 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.174/1.174, allocations: 138.5 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.213e-06/1.213e-06, allocations: 0 / 0.5544 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.836e-05, allocations: 5.266 kB / 0.5544 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001619/0.001647, allocations: 0.5849 MB / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002343/0.001882, allocations: 51.73 kB / 0.555 GB, free: 140 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.001898, allocations: 0 / 0.555 GB, free: 140 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.001909, allocations: 4 kB / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.001914, allocations: 0 / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.002134, allocations: 7.984 kB / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 3.492e-05/0.002169, allocations: 3.984 kB / 0.555 GB, free: 124 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.002204, allocations: 4 kB / 0.555 GB, free: 120 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.00223, allocations: 4 kB / 0.555 GB, free: 116 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.002253, allocations: 0 / 0.555 GB, free: 116 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.002264, allocations: 4 kB / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.002364, allocations: 27.91 kB / 0.5551 GB, free: 84 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.002374, allocations: 0 / 0.5551 GB, free: 84 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.002386, allocations: 3.938 kB / 0.5551 GB, free: 80 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.401e-05/0.00247, allocations: 15.98 kB / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002472, allocations: 0 / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002473, allocations: 0 / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.002476, allocations: 0 / 0.5551 GB, free: 64 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.0003948/0.002871, allocations: 340.4 kB / 0.5554 GB, free: 15.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.002909, allocations: 8.75 kB / 0.5554 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.003168, allocations: 20.91 kB / 0.5554 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.00329, allocations: 108.6 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.003305, allocations: 4.375 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.003313, allocations: 384 / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.003434, allocations: 34.25 kB / 0.5556 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003443, allocations: 4.125 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.003451, allocations: 384 / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.003455, allocations: 384 / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.003523, allocations: 11.88 kB / 0.5556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.003678, allocations: 112.6 kB / 0.5557 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.00377, allocations: 31.08 kB / 0.5557 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.003813, allocations: 11.75 kB / 0.5558 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.003835, allocations: 4 kB / 0.5558 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.003872, allocations: 33.39 kB / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.003873, allocations: 0 / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002356/0.004109, allocations: 45.62 kB / 0.5558 GB, free: 15.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.004158, allocations: 51.41 kB / 0.5559 GB, free: 15.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.004247, allocations: 142.2 kB / 0.556 GB, free: 14.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.004267, allocations: 29.83 kB / 0.556 GB, free: 14.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.004342, allocations: 130.9 kB / 0.5562 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.00437, allocations: 3.953 kB / 0.5562 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.004629, allocations: 27.36 kB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.004912, allocations: 496.1 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.004951, allocations: 4 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.004975, allocations: 0 / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.005044, allocations: 15.67 kB / 0.5567 GB, free: 14.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005046, allocations: 0 / 0.5567 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.005148, allocations: 41.7 kB / 0.5567 GB, free: 14.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.005163, allocations: 8 kB / 0.5567 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.005168, allocations: 0 / 0.5567 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.005183, allocations: 3.984 kB / 0.5567 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.005247, allocations: 8 kB / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.005252, allocations: 0 / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.005279, allocations: 3.938 kB / 0.5568 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005285, allocations: 0 / 0.5568 GB, free: 14.16 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.0001098/0.005395, allocations: 152.6 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.005403, allocations: 8.031 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.00543, allocations: 3 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.005434, allocations: 3.984 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.005436, allocations: 0 / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005438, allocations: 0 / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.005547, allocations: 116.5 kB / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005548, allocations: 0 / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.005582, allocations: 0 / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.005583, allocations: 0 / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.00559, allocations: 0 / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005591, allocations: 4 kB / 0.557 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.005594, allocations: 7.984 kB / 0.557 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.005755, allocations: 76.33 kB / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-06/0.005762, allocations: 3.984 kB / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.005775, allocations: 4 kB / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.005801, allocations: 0 / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.005816, allocations: 0 / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.005822, allocations: 4 kB / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.005882, allocations: 119.2 kB / 0.5572 GB, free: 13.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005882, allocations: 0 / 0.5572 GB, free: 13.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000174/0.006056, allocations: 4 kB / 0.5572 GB, free: 13.6 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.0001242/0.00618, allocations: 103.2 kB / 0.5573 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.006317, allocations: 27.61 kB / 0.5574 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006319, allocations: 0 / 0.5574 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.006358, allocations: 11.69 kB / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.006483, allocations: 2.969 kB / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.00675, allocations: 91.92 kB / 0.5575 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.006804, allocations: 55.48 kB / 0.5575 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.006832, allocations: 4 kB / 0.5575 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.006863, allocations: 12.48 kB / 0.5575 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006863, allocations: 0 / 0.5575 GB, free: 13.23 MB / 490.7 MB Notification: Performance of Templates: time 0.002606/0.009469, allocations: 259.9 kB / 0.5578 GB, free: 12.98 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: 5.849246188998222]