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.0007511/0.0007511, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000912/0.001663, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006847/0.0006847, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009414/0.001626, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9255/0.9255, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08569/1.011, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 222.6 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0043/0.005946, allocations: 483.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7603/0.7603, allocations: 138.7 MB / 384.3 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06744/0.8277, allocations: 42.4 MB / 426.7 MB, free: 5.844 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.423e-06/1.423e-06, allocations: 0 / 428.1 MB, free: 4.434 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.451e-05, allocations: 2.312 kB / 428.1 MB, free: 4.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001017/0.001031, allocations: 0.6509 MB / 428.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 8.768e-05/0.001119, allocations: 47.81 kB / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-06/0.001127, allocations: 0 / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.136e-06/0.00113, allocations: 0 / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-07/0.001131, allocations: 0 / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.172e-05/0.001213, allocations: 23.91 kB / 428.8 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.001253, allocations: 4 kB / 428.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.001284, allocations: 3.938 kB / 428.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.001315, allocations: 0 / 428.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.001342, allocations: 7.984 kB / 428.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.001352, allocations: 0 / 428.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.001446, allocations: 19.98 kB / 428.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.001456, allocations: 0 / 428.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.108e-06/0.001465, allocations: 0 / 428.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.015e-05/0.001535, allocations: 15.92 kB / 428.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.001545, allocations: 4 kB / 428.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001545, allocations: 0 / 428.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.001554, allocations: 0 / 428.9 MB, free: 3.652 MB / 410.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.0002028/0.001757, allocations: 216.8 kB / 429.1 MB, free: 3.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.001783, allocations: 8.031 kB / 429.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.001989, allocations: 101.9 kB / 429.2 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.067e-05/0.00204, allocations: 105.8 kB / 429.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.002046, allocations: 384 / 429.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.002053, allocations: 384 / 429.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.002134, allocations: 50.95 kB / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.002138, allocations: 192 / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.002145, allocations: 4.359 kB / 429.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.002148, allocations: 384 / 429.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.246e-05/0.002161, allocations: 7.938 kB / 429.4 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.475e-05/0.002225, allocations: 57.05 kB / 429.4 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.843e-05/0.002254, allocations: 22.55 kB / 429.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-06/0.002264, allocations: 8.859 kB / 429.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.002275, allocations: 0 / 429.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.002293, allocations: 34.62 kB / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002293, allocations: 4 kB / 429.5 MB, free: 2.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.797e-05/0.002371, allocations: 33.69 kB / 429.5 MB, free: 2.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.002394, allocations: 55.34 kB / 429.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.515e-05/0.002419, allocations: 89.86 kB / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.002427, allocations: 25.7 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.002444, allocations: 80.14 kB / 429.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.00247, allocations: 11.89 kB / 429.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.002489, allocations: 9.719 kB / 429.8 MB, free: 2.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.002766, allocations: 314.8 kB / 430.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-06/0.002775, allocations: 8.125 kB / 430.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.002781, allocations: 3.984 kB / 430.1 MB, free: 2.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.002805, allocations: 8.859 kB / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.002806, allocations: 0 / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.406e-05/0.00284, allocations: 33.64 kB / 430.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.002851, allocations: 4 kB / 430.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.002854, allocations: 0 / 430.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.002863, allocations: 4 kB / 430.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.002915, allocations: 8.078 kB / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.002918, allocations: 0 / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.00293, allocations: 4 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.002934, allocations: 4 kB / 430.2 MB, free: 2.184 MB / 410.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 4.642e-05/0.00298, allocations: 113.8 kB / 430.3 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-06/0.002984, allocations: 3.938 kB / 430.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.003001, allocations: 7 kB / 430.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.003004, allocations: 7.969 kB / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.003005, allocations: 0 / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.003008, allocations: 0 / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.906e-05/0.003047, allocations: 65.84 kB / 430.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003047, allocations: 0 / 430.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.003061, allocations: 4 kB / 430.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-06/0.003063, allocations: 0 / 430.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.003066, allocations: 7.984 kB / 430.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-06/0.003069, allocations: 0 / 430.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00307, allocations: 0 / 430.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.00307, allocations: 0 / 430.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.284e-05/0.003123, allocations: 61.02 kB / 430.5 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-06/0.003129, allocations: 0 / 430.5 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.003138, allocations: 8.016 kB / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-06/0.003146, allocations: 0 / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.003148, allocations: 0 / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.771e-06/0.003154, allocations: 4.859 kB / 430.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003154, allocations: 0 / 430.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.368e-05/0.003237, allocations: 4 kB / 430.5 MB, free: 1.855 MB / 410.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 5.678e-05/0.003294, allocations: 80.42 kB / 430.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.986e-05/0.003344, allocations: 4.859 kB / 430.6 MB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.003349, allocations: 16.08 kB / 430.6 MB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.00336, allocations: 4.859 kB / 430.6 MB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.577e-05/0.003416, allocations: 11.94 kB / 430.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001326/0.003549, allocations: 86.22 kB / 430.7 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.309e-05/0.003572, allocations: 55.36 kB / 430.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.003591, allocations: 8.031 kB / 430.7 MB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.003623, allocations: 47.38 kB / 430.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.003623, allocations: 0 / 430.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of Templates: time 0.001481/0.005104, allocations: 290.1 kB / 431.1 MB, free: 1.203 MB / 410.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.0510983457788825]