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.0009563/0.0009563, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001186/0.001186, allocations: 169.8 kB / 25.17 MB, free: 9.109 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.961/0.961, allocations: 177.1 MB / 205.6 MB, free: 5.012 MB / 186.7 MB " [Timeout remaining time 179] 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 1.848/1.848, allocations: 389.6 MB / 0.6364 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.072e-06/1.072e-06, allocations: 0 / 0.7756 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.107e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001043/0.001054, allocations: 0.6582 MB / 0.7762 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.001249, allocations: 51.73 kB / 0.7763 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.001264, allocations: 2.688 kB / 0.7763 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.001275, allocations: 0 / 0.7763 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.00128, allocations: 0 / 0.7763 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.001457, allocations: 13.02 kB / 0.7763 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.763e-05/0.001494, allocations: 4 kB / 0.7763 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.001525, allocations: 0 / 0.7763 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.001552, allocations: 7.969 kB / 0.7763 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.001574, allocations: 7.094 kB / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.001584, allocations: 0 / 0.7763 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.001684, allocations: 19.98 kB / 0.7763 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.001694, allocations: 0 / 0.7763 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.001706, allocations: 4.656 kB / 0.7763 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.78e-05/0.001774, allocations: 15.97 kB / 0.7764 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.001776, allocations: 5.094 kB / 0.7764 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.001777, allocations: 0 / 0.7764 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.00178, allocations: 0.7656 kB / 0.7764 GB, free: 5.168 MB / 0.7292 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.0001639/0.001944, allocations: 214.4 kB / 0.7766 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.001973, allocations: 9.344 kB / 0.7766 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.00213, allocations: 20.91 kB / 0.7766 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.12e-05/0.002182, allocations: 101.8 kB / 0.7767 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.002189, allocations: 1.188 kB / 0.7767 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.002196, allocations: 1.25 kB / 0.7767 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/0.002279, allocations: 52.14 kB / 0.7767 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-06/0.002284, allocations: 192 / 0.7767 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.00229, allocations: 3.062 kB / 0.7767 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.002294, allocations: 384 / 0.7767 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.002308, allocations: 7.938 kB / 0.7768 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.873e-05/0.002367, allocations: 61.03 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.878e-05/0.002396, allocations: 22.61 kB / 0.7768 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.061e-05/0.002406, allocations: 6.625 kB / 0.7768 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.002417, allocations: 6.688 kB / 0.7768 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.002437, allocations: 34.62 kB / 0.7769 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.002438, allocations: 3.984 kB / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.475e-05/0.002513, allocations: 29.7 kB / 0.7769 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.002539, allocations: 51.41 kB / 0.777 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.464e-05/0.002564, allocations: 89.86 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.002573, allocations: 32.03 kB / 0.7771 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.002595, allocations: 81.67 kB / 0.7772 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.002618, allocations: 4 kB / 0.7772 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.002637, allocations: 9.719 kB / 0.7772 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.002706, allocations: 314.8 kB / 0.7775 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.002713, allocations: 4 kB / 0.7775 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.002718, allocations: 4.438 kB / 0.7775 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.00274, allocations: 13.69 kB / 0.7775 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.002742, allocations: 4.516 kB / 0.7775 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.236e-05/0.002774, allocations: 34.36 kB / 0.7775 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.002783, allocations: 4.719 kB / 0.7775 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.002789, allocations: 7.984 kB / 0.7775 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.002795, allocations: 1.438 kB / 0.7775 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.002836, allocations: 0 / 0.7775 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.002838, allocations: 0 / 0.7775 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.00285, allocations: 8.984 kB / 0.7776 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.002854, allocations: 0.6562 kB / 0.7776 GB, free: 3.816 MB / 0.7292 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 4.698e-05/0.002901, allocations: 115.1 kB / 0.7777 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.002904, allocations: 0 / 0.7777 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.002921, allocations: 7 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.002922, allocations: 0.875 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.002923, allocations: 0.875 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.002925, allocations: 0.5312 kB / 0.7777 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.031e-05/0.002965, allocations: 61.84 kB / 0.7777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.002966, allocations: 4.766 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.002978, allocations: 4 kB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.002979, allocations: 1.75 kB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.002982, allocations: 0 / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.002983, allocations: 4 kB / 0.7777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.002984, allocations: 0.6562 kB / 0.7777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.348e-05/0.003027, allocations: 61.59 kB / 0.7778 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.003031, allocations: 5.016 kB / 0.7778 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-06/0.003037, allocations: 4 kB / 0.7778 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.003045, allocations: 0 / 0.7778 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-06/0.003052, allocations: 4.469 kB / 0.7778 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.003055, allocations: 6 kB / 0.7778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.01e-06/0.00306, allocations: 4.859 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00306, allocations: 0 / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.288e-05/0.003143, allocations: 4.812 kB / 0.7778 GB, free: 3.492 MB / 0.7292 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 5.408e-05/0.003197, allocations: 77.34 kB / 0.7779 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.207e-05/0.003239, allocations: 9.453 kB / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.003242, allocations: 0 / 0.7779 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.003249, allocations: 9.578 kB / 0.7779 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.971e-05/0.003288, allocations: 6.141 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001324/0.003421, allocations: 100.2 kB / 0.778 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.003452, allocations: 57.05 kB / 0.7781 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.003487, allocations: 51.31 kB / 0.7781 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.003487, allocations: 0 / 0.7781 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of Templates: time 0.0009025/0.00439, allocations: 403.2 kB / 0.7785 GB, free: 2.738 MB / 0.7292 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 > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6432008892297745]