Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.4 MB, free: 8.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 184.4 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008474/0.0008477, allocations: 81.39 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 13.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007558/0.2298, allocations: 315.8 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.23, allocations: 43.83 kB / 0.9799 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.2301, allocations: 0 / 0.9799 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.2301, allocations: 0 / 0.9799 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-06/0.2301, allocations: 8 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2303, allocations: 11.97 kB / 0.98 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.2304, allocations: 4 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.2305, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.2305, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.2305, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2305, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.2306, allocations: 19.98 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.2306, allocations: 3.938 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.2307, allocations: 29.69 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.524e-05/0.2307, allocations: 8 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2308, allocations: 4 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2308, allocations: 4 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2308, allocations: 0 / 0.98 GB, free: 27.2 MB / 0.6198 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.0002071/0.231, allocations: 311.4 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.231, allocations: 12.08 kB / 0.9803 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.2313, allocations: 19.97 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.06e-05/0.2314, allocations: 163 kB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2314, allocations: 7.938 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2314, allocations: 0 / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2316, allocations: 37.62 kB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2316, allocations: 0 / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2316, allocations: 3.984 kB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2316, allocations: 0 / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.2317, allocations: 11.94 kB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.2318, allocations: 157.6 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.2319, allocations: 18.61 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.232, allocations: 12.91 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.232, allocations: 0 / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.232, allocations: 30.56 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.232, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002282/0.2323, allocations: 57.61 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2323, allocations: 51.41 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.205e-05/0.2323, allocations: 89.86 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.2323, allocations: 25.7 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.555e-05/0.2324, allocations: 80.14 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2324, allocations: 7.906 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2324, allocations: 0 / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.2325, allocations: 315 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.2325, allocations: 7.984 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.2326, allocations: 0 / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.2326, allocations: 11.98 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2326, allocations: 0 / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001164/0.2327, allocations: 49.58 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2328, allocations: 4 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2328, allocations: 8.094 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2328, allocations: 0 / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.2329, allocations: 7.984 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2329, allocations: 0 / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.2329, allocations: 4 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2329, allocations: 4 kB / 0.9815 GB, free: 25.5 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.233, allocations: 107.4 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.233, allocations: 7.938 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.233, allocations: 7.125 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2331, allocations: 3.938 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2331, allocations: 0 / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2331, allocations: 3.984 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.767e-05/0.2331, allocations: 154 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2331, allocations: 0 / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.2332, allocations: 7.984 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2332, allocations: 3.953 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.2332, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2332, allocations: 3.938 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2332, allocations: 4 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2334, allocations: 65.06 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.2334, allocations: 77.11 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2334, allocations: 11.94 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.2335, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.2335, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2335, allocations: 8.031 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.478e-05/0.2335, allocations: 75.28 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2335, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000188/0.2337, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.2338, allocations: 99.19 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.234, allocations: 11.98 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.234, allocations: 0 / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.234, allocations: 12.05 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2342, allocations: 7.938 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.2344, allocations: 82.75 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.2345, allocations: 0.6692 MB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.2346, allocations: 8 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2346, allocations: 15.42 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2346, allocations: 0 / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.001811/0.2364, allocations: 217.6 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)