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.0008024/0.0008024, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001457/0.001457, allocations: 161.9 kB / 24.96 MB, free: 8.723 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.9716/0.9716, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.913/1.913, allocations: 389.6 MB / 0.6362 GB, free: 12.33 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.212e-06/1.212e-06, allocations: 3.938 kB / 0.776 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.299e-05, allocations: 2.312 kB / 0.776 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001519/0.001542, allocations: 0.6677 MB / 0.7767 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000209/0.001751, allocations: 45.39 kB / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.001766, allocations: 4 kB / 0.7767 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.001782, allocations: 6.406 kB / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.001787, allocations: 0 / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.001968, allocations: 7.984 kB / 0.7767 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.002005, allocations: 0 / 0.7767 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.002038, allocations: 0 / 0.7767 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.002064, allocations: 4.875 kB / 0.7767 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.002081, allocations: 0.625 kB / 0.7767 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.003025/0.005106, allocations: 4.672 kB / 0.7767 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.005243, allocations: 23.97 kB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.005253, allocations: 4.656 kB / 0.7768 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.077e-05/0.005264, allocations: 1.312 kB / 0.7768 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.005344, allocations: 20.42 kB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005347, allocations: 4.531 kB / 0.7768 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.547e-06/0.00535, allocations: 3.984 kB / 0.7768 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.005354, allocations: 1.5 kB / 0.7768 GB, free: 4.543 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.0001792/0.005533, allocations: 204.8 kB / 0.777 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005567, allocations: 13.34 kB / 0.777 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.005739, allocations: 18.03 kB / 0.777 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.816e-05/0.005797, allocations: 106.9 kB / 0.7771 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.005806, allocations: 1.219 kB / 0.7771 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.005811, allocations: 4.375 kB / 0.7771 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.005899, allocations: 43.61 kB / 0.7772 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.005904, allocations: 0.9375 kB / 0.7772 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.00591, allocations: 384 / 0.7772 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005915, allocations: 4.375 kB / 0.7772 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.373e-05/0.005929, allocations: 5.469 kB / 0.7772 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.249e-05/0.006001, allocations: 64.98 kB / 0.7773 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.006033, allocations: 19.47 kB / 0.7773 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.006044, allocations: 10.22 kB / 0.7773 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.006058, allocations: 4.844 kB / 0.7773 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.006078, allocations: 30.56 kB / 0.7773 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.006079, allocations: 1.438 kB / 0.7773 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.647e-05/0.006165, allocations: 33.64 kB / 0.7773 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.006192, allocations: 51.41 kB / 0.7774 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.83e-05/0.00622, allocations: 95.39 kB / 0.7775 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.006229, allocations: 27.42 kB / 0.7775 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.006249, allocations: 80.14 kB / 0.7776 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.006271, allocations: 0 / 0.7776 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.006299, allocations: 17.7 kB / 0.7776 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.006376, allocations: 314.8 kB / 0.7779 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.006385, allocations: 0.8125 kB / 0.7779 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.006392, allocations: 0.5 kB / 0.7779 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.006422, allocations: 14.27 kB / 0.7779 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006423, allocations: 0 / 0.7779 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.652e-05/0.00647, allocations: 39.12 kB / 0.778 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006481, allocations: 8 kB / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.006485, allocations: 0 / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006494, allocations: 0.875 kB / 0.778 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.006544, allocations: 4.766 kB / 0.778 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006546, allocations: 0.875 kB / 0.778 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.00656, allocations: 352 / 0.778 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006566, allocations: 5.734 kB / 0.778 GB, free: 3.207 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.839e-05/0.006614, allocations: 113.8 kB / 0.7781 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.006619, allocations: 4 kB / 0.7781 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.006639, allocations: 3 kB / 0.7781 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.006641, allocations: 1.484 kB / 0.7781 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006643, allocations: 1.094 kB / 0.7781 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006645, allocations: 0 / 0.7781 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.451e-05/0.006699, allocations: 73.78 kB / 0.7782 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.0067, allocations: 0.5938 kB / 0.7782 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.006716, allocations: 3.984 kB / 0.7782 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006717, allocations: 1.125 kB / 0.7782 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.006721, allocations: 4 kB / 0.7782 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.006722, allocations: 0.75 kB / 0.7782 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006723, allocations: 0.5469 kB / 0.7782 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.059e-05/0.006784, allocations: 61.78 kB / 0.7782 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.006791, allocations: 7.953 kB / 0.7782 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-06/0.006797, allocations: 0.9375 kB / 0.7782 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.006808, allocations: 0 / 0.7782 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.006817, allocations: 5.953 kB / 0.7782 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.006822, allocations: 8.578 kB / 0.7783 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.71e-06/0.006827, allocations: 4.859 kB / 0.7783 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006827, allocations: 1.344 kB / 0.7783 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001249/0.006952, allocations: 0 / 0.7783 GB, free: 2.875 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 8.547e-05/0.007038, allocations: 81.38 kB / 0.7783 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.496e-05/0.007093, allocations: 8.859 kB / 0.7783 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.007095, allocations: 2.75 kB / 0.7784 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.007103, allocations: 8.797 kB / 0.7784 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.853e-05/0.007152, allocations: 7.938 kB / 0.7784 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.007292, allocations: 74.48 kB / 0.7784 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.584e-05/0.007318, allocations: 55.36 kB / 0.7785 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.007338, allocations: 2.688 kB / 0.7785 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.007372, allocations: 52.14 kB / 0.7785 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.007372, allocations: 0 / 0.7785 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of Templates: time 0.003323/0.01069, allocations: 281.3 kB / 0.7788 GB, free: 2.266 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 -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.969643793068826]