Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001351/0.00135, allocations: 180.5 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009192/0.0009189, allocations: 99.05 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 13.75 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.000738/0.2095, allocations: 319.5 kB / 0.9787 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.2098, allocations: 47.83 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-06/0.2098, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.2098, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.2099, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2101, allocations: 11.98 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.2101, allocations: 4 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.2102, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.2102, allocations: 4 kB / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.2102, allocations: 0 / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.2103, allocations: 0 / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.2104, allocations: 27.95 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.2104, allocations: 3.938 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2104, allocations: 25.7 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.241e-05/0.2105, allocations: 7.984 kB / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2105, allocations: 0 / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2105, allocations: 0 / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2105, allocations: 4 kB / 0.9788 GB, free: 27.87 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.0002182/0.2108, allocations: 315.4 kB / 0.9791 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2108, allocations: 12.08 kB / 0.9791 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.2111, allocations: 23.91 kB / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.2112, allocations: 167 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2112, allocations: 0 / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.2113, allocations: 0 / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.2114, allocations: 33.69 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2114, allocations: 4 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2115, allocations: 3.984 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2115, allocations: 3.938 kB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2116, allocations: 15.92 kB / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.2117, allocations: 149.6 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2119, allocations: 22.59 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.212, allocations: 12.92 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.212, allocations: 3.984 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.212, allocations: 30.56 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.212, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003062/0.2123, allocations: 49.62 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2124, allocations: 51.41 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.597e-05/0.2124, allocations: 89.98 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2124, allocations: 29.7 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.2125, allocations: 84.12 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.2125, allocations: 7.906 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-06/0.2125, allocations: 0 / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.2126, allocations: 310.8 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.2127, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.2128, allocations: 7.984 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.714e-05/0.2128, allocations: 8.062 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2129, allocations: 3.953 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000184/0.213, allocations: 49.62 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2131, allocations: 7.984 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2131, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2131, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.2132, allocations: 4 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2132, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.2133, allocations: 8.031 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2133, allocations: 0 / 0.9802 GB, free: 26.17 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 6.122e-05/0.2134, allocations: 113.8 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2134, allocations: 3.953 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.2135, allocations: 3.125 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2135, allocations: 0 / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2135, allocations: 0 / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2135, allocations: 0 / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.757e-05/0.2136, allocations: 154 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2136, allocations: 7.938 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.2137, allocations: 7.891 kB / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2138, allocations: 4 kB / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2138, allocations: 0 / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2138, allocations: 0 / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2138, allocations: 0 / 0.9805 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.2141, allocations: 73.05 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.2141, allocations: 81.11 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2141, allocations: 3.953 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.2142, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.2142, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2142, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.2143, allocations: 79.28 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2143, allocations: 0 / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002213/0.2145, allocations: 4 kB / 0.9808 GB, free: 25.55 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.0001118/0.2146, allocations: 107.2 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.2148, allocations: 11.98 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2148, allocations: 0 / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.2149, allocations: 7.938 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.2151, allocations: 0 / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.2154, allocations: 86.86 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2155, allocations: 0.6731 MB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.2156, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.2156, allocations: 7.438 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2156, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.002379/0.218, allocations: 219.9 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)