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.0006756/0.0006756, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009239/0.0016, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006817/0.0006817, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.001603, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.013/1.013, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.9/1.9, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.506/2.406, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 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.253e-06/1.253e-06, allocations: 0 / 0.7449 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/1.068e-05, allocations: 4.047 kB / 0.7449 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009788/0.0009895, allocations: 0.6495 MB / 0.7455 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 8.423e-05/0.001074, allocations: 49.23 kB / 0.7456 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-06/0.001082, allocations: 0 / 0.7456 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-06/0.001086, allocations: 0 / 0.7456 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-07/0.001086, allocations: 0.5469 kB / 0.7456 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.283e-05/0.001169, allocations: 15.91 kB / 0.7456 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.001215, allocations: 6.109 kB / 0.7456 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.001252, allocations: 5.203 kB / 0.7456 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.001284, allocations: 7.984 kB / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.001312, allocations: 0 / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.001324, allocations: 1.531 kB / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.001426, allocations: 20.64 kB / 0.7456 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.001437, allocations: 0 / 0.7456 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-06/0.001447, allocations: 0.6562 kB / 0.7456 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.643e-05/0.001524, allocations: 21 kB / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.001533, allocations: 1.609 kB / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001534, allocations: 0 / 0.7456 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.001542, allocations: 0.5938 kB / 0.7456 GB, free: 2.418 MB / 0.7136 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.0002135/0.001755, allocations: 210.3 kB / 0.7458 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.001785, allocations: 12.03 kB / 0.7458 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.002036, allocations: 90.03 kB / 0.7459 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.002102, allocations: 106.8 kB / 0.746 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.002112, allocations: 384 / 0.746 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.002125, allocations: 20.95 kB / 0.746 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.00223, allocations: 39.56 kB / 0.7461 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.002236, allocations: 4.781 kB / 0.7461 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.002244, allocations: 5.016 kB / 0.7461 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.002249, allocations: 384 / 0.7461 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.002268, allocations: 4.5 kB / 0.7461 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.565e-05/0.002343, allocations: 59.34 kB / 0.7462 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.76e-05/0.002381, allocations: 18.56 kB / 0.7462 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.002396, allocations: 12.89 kB / 0.7462 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.00241, allocations: 2.156 kB / 0.7462 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.002432, allocations: 30.56 kB / 0.7462 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.002433, allocations: 0 / 0.7462 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.668e-05/0.002529, allocations: 33.69 kB / 0.7463 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.002561, allocations: 56.06 kB / 0.7463 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.926e-05/0.00259, allocations: 92.3 kB / 0.7464 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.002601, allocations: 29.7 kB / 0.7464 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.002624, allocations: 80.14 kB / 0.7465 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.002652, allocations: 0 / 0.7465 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.002679, allocations: 13.72 kB / 0.7465 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.002761, allocations: 316.1 kB / 0.7468 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.002772, allocations: 5.562 kB / 0.7468 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.002781, allocations: 3.984 kB / 0.7468 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.002808, allocations: 8.859 kB / 0.7468 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.00281, allocations: 0.75 kB / 0.7468 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.989e-05/0.00286, allocations: 35.89 kB / 0.7469 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.002872, allocations: 4 kB / 0.7469 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.002876, allocations: 0 / 0.7469 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.002887, allocations: 0 / 0.7469 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.002949, allocations: 7.984 kB / 0.7469 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.002952, allocations: 2.75 kB / 0.7469 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.002969, allocations: 3.938 kB / 0.7469 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.002974, allocations: 5.031 kB / 0.7469 GB, free: 0.9766 MB / 0.7136 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 6.301e-05/0.003037, allocations: 117.8 kB / 0.747 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.003043, allocations: 0 / 0.747 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.003062, allocations: 3 kB / 0.747 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.003065, allocations: 3.984 kB / 0.747 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.003067, allocations: 2.875 kB / 0.747 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.003069, allocations: 0 / 0.747 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.509e-05/0.003124, allocations: 65.84 kB / 0.7471 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.003125, allocations: 0 / 0.7471 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.003152, allocations: 8 kB / 0.7471 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.003157, allocations: 5.078 kB / 0.7471 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.003159, allocations: 0 / 0.7471 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.003162, allocations: 0.625 kB / 0.7471 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.003163, allocations: 0 / 0.7471 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.003164, allocations: 0.6875 kB / 0.7471 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/0.003232, allocations: 57.86 kB / 0.7471 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.003243, allocations: 4 kB / 0.7471 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.003259, allocations: 8.547 kB / 0.7472 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.003269, allocations: 4 kB / 0.7472 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.003272, allocations: 0.9062 kB / 0.7472 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.897e-06/0.003281, allocations: 5.734 kB / 0.7472 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.003281, allocations: 1.312 kB / 0.7472 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001374/0.003418, allocations: 0 / 0.7472 GB, free: 0.6562 MB / 0.7136 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 8.098e-05/0.003499, allocations: 77.2 kB / 0.7472 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.003574, allocations: 9.938 kB / 0.7472 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.003579, allocations: 5.547 kB / 0.7473 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.003597, allocations: 9.406 kB / 0.7473 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.609e-05/0.003653, allocations: 11.94 kB / 0.7473 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001523/0.003806, allocations: 83.38 kB / 0.7474 GB, free: 436 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.443e-05/0.00383, allocations: 51.36 kB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.003849, allocations: 2.688 kB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.003882, allocations: 53.06 kB / 0.7475 GB, free: 312 kB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.003883, allocations: 0 / 0.7475 GB, free: 312 kB / 0.7136 GB Notification: Performance of Templates: time 0.001303/0.005186, allocations: 294.7 kB / 0.7477 GB, free: 24 kB / 0.7136 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: 4.816241616383195]