Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001811/0.001811, allocations: 104.3 kB / 19.72 MB, free: 416 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.001926/0.001926, allocations: 220 kB / 23.02 MB, free: 2.949 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 1.639/1.639, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.431/3.431, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004082/0.004082, allocations: 73.19 kB / 1.177 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3682, allocations: 180 MB / 1.353 GB, free: 8.633 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001786/0.3699, allocations: 0.5938 MB / 1.354 GB, free: 8.039 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0002704/0.3702, allocations: 39.88 kB / 1.354 GB, free: 8 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.3702, allocations: 0 / 1.354 GB, free: 8 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.3702, allocations: 0 / 1.354 GB, free: 8 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.3703, allocations: 7.938 kB / 1.354 GB, free: 7.992 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3705, allocations: 19.98 kB / 1.354 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.3705, allocations: 0 / 1.354 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.3706, allocations: 0 / 1.354 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.3706, allocations: 7.984 kB / 1.354 GB, free: 7.965 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.3706, allocations: 0 / 1.354 GB, free: 7.965 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.3706, allocations: 0 / 1.354 GB, free: 7.965 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3707, allocations: 19.97 kB / 1.354 GB, free: 7.945 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3707, allocations: 4 kB / 1.354 GB, free: 7.941 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.3707, allocations: 4 kB / 1.354 GB, free: 7.938 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 7.899e-05/0.3708, allocations: 15.92 kB / 1.354 GB, free: 7.922 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3708, allocations: 0 / 1.354 GB, free: 7.922 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3708, allocations: 3.938 kB / 1.354 GB, free: 7.918 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3708, allocations: 4 kB / 1.354 GB, free: 7.914 MB / 1.042 GB 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.0002935/0.3711, allocations: 242.4 kB / 1.354 GB, free: 7.645 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3712, allocations: 8.922 kB / 1.354 GB, free: 7.637 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.3714, allocations: 16.91 kB / 1.354 GB, free: 7.621 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3715, allocations: 107 kB / 1.354 GB, free: 7.492 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.3715, allocations: 384 / 1.354 GB, free: 7.492 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3715, allocations: 4.375 kB / 1.354 GB, free: 7.488 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3717, allocations: 34.25 kB / 1.354 GB, free: 7.449 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3717, allocations: 192 / 1.354 GB, free: 7.449 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3717, allocations: 3.938 kB / 1.354 GB, free: 7.445 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3717, allocations: 0 / 1.354 GB, free: 7.445 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.3718, allocations: 15.97 kB / 1.354 GB, free: 7.43 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3719, allocations: 101.3 kB / 1.354 GB, free: 7.301 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.372, allocations: 22.55 kB / 1.354 GB, free: 7.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.372, allocations: 16.91 kB / 1.354 GB, free: 7.25 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3721, allocations: 0 / 1.354 GB, free: 7.25 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3721, allocations: 34.56 kB / 1.354 GB, free: 7.207 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.3721, allocations: 4 kB / 1.354 GB, free: 7.203 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0002291/0.3723, allocations: 49.56 kB / 1.354 GB, free: 7.148 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3724, allocations: 55.39 kB / 1.354 GB, free: 7.082 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.3724, allocations: 93.86 kB / 1.354 GB, free: 6.98 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3725, allocations: 25.7 kB / 1.354 GB, free: 6.949 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3725, allocations: 84.27 kB / 1.355 GB, free: 6.863 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3725, allocations: 3.938 kB / 1.355 GB, free: 6.859 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.3725, allocations: 9.719 kB / 1.355 GB, free: 6.844 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3727, allocations: 314.8 kB / 1.355 GB, free: 6.527 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.3728, allocations: 7.984 kB / 1.355 GB, free: 6.52 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.3728, allocations: 4 kB / 1.355 GB, free: 6.516 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.249e-05/0.3729, allocations: 16.84 kB / 1.355 GB, free: 6.496 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3729, allocations: 0 / 1.355 GB, free: 6.496 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001227/0.373, allocations: 49.62 kB / 1.355 GB, free: 6.441 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.373, allocations: 8 kB / 1.355 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.373, allocations: 0 / 1.355 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.373, allocations: 0 / 1.355 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.3731, allocations: 11.92 kB / 1.355 GB, free: 6.422 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.3731, allocations: 0 / 1.355 GB, free: 6.422 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.3731, allocations: 0 / 1.355 GB, free: 6.422 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3732, allocations: 0 / 1.355 GB, free: 6.422 MB / 1.042 GB 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 8.784e-05/0.3732, allocations: 114.4 kB / 1.355 GB, free: 6.301 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3733, allocations: 3.984 kB / 1.355 GB, free: 6.297 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.3733, allocations: 7 kB / 1.355 GB, free: 6.293 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3733, allocations: 3.938 kB / 1.355 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.3734, allocations: 101.3 kB / 1.355 GB, free: 6.16 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3734, allocations: 4 kB / 1.355 GB, free: 6.156 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.3734, allocations: 7.984 kB / 1.355 GB, free: 6.148 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3734, allocations: 0 / 1.355 GB, free: 6.148 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3734, allocations: 4 kB / 1.355 GB, free: 6.145 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3735, allocations: 0 / 1.355 GB, free: 6.145 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3735, allocations: 3.938 kB / 1.355 GB, free: 6.141 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3736, allocations: 69.06 kB / 1.355 GB, free: 6.055 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.3736, allocations: 0 / 1.355 GB, free: 6.055 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3736, allocations: 3.984 kB / 1.355 GB, free: 6.051 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.3737, allocations: 4 kB / 1.355 GB, free: 6.047 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3737, allocations: 3.938 kB / 1.355 GB, free: 6.043 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.3737, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.3737, allocations: 79.31 kB / 1.355 GB, free: 5.965 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.355 GB, free: 5.965 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003003/0.374, allocations: 4 kB / 1.355 GB, free: 5.961 MB / 1.042 GB 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.0001661/0.3742, allocations: 91.25 kB / 1.355 GB, free: 5.859 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3744, allocations: 11.98 kB / 1.355 GB, free: 5.848 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3744, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.3745, allocations: 11.92 kB / 1.355 GB, free: 5.836 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.3746, allocations: 12 kB / 1.355 GB, free: 5.824 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.3749, allocations: 88.98 kB / 1.356 GB, free: 5.711 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.403e-05/0.3749, allocations: 63.16 kB / 1.356 GB, free: 5.629 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.375, allocations: 4 kB / 1.356 GB, free: 5.625 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.375, allocations: 7.438 kB / 1.356 GB, free: 5.617 MB / 1.042 GB Notification: Performance of SimCode: time 4.41e-07/0.375, allocations: 0 / 1.356 GB, free: 5.617 MB / 1.042 GB Notification: Performance of Templates: time 0.002441/0.3774, allocations: 223.9 kB / 1.356 GB, free: 5.402 MB / 1.042 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.73524955008179]