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.62/1.62, allocations: 288.4 MB / 304.3 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.001016/0.001016, allocations: 178 kB / 372.9 MB, free: 10.17 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.529/1.529, allocations: 205.4 MB / 0.6316 GB, free: 9.945 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.0007944/0.0007945, allocations: 94.28 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 14.44 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006128/0.1795, allocations: 315.8 kB / 0.981 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.1797, allocations: 47.83 kB / 0.9811 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-06/0.1797, allocations: 0 / 0.9811 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.849e-06/0.1797, allocations: 7.938 kB / 0.9811 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1797, allocations: 0 / 0.9811 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1799, allocations: 11.98 kB / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.243e-05/0.1799, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.18, allocations: 4 kB / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.066e-05/0.18, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.18, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-06/0.18, allocations: 0 / 0.9811 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.1801, allocations: 23.97 kB / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.1801, allocations: 0 / 0.9811 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1801, allocations: 33.64 kB / 0.9812 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.114e-05/0.1802, allocations: 19.97 kB / 0.9812 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1802, allocations: 0 / 0.9812 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1802, allocations: 0 / 0.9812 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.1802, allocations: 0 / 0.9812 GB, free: 26.89 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.0001853/0.1804, allocations: 307.6 kB / 0.9815 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1804, allocations: 8.031 kB / 0.9815 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.1807, allocations: 16.91 kB / 0.9815 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.458e-05/0.1807, allocations: 172.4 kB / 0.9817 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1808, allocations: 384 / 0.9817 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1808, allocations: 4.312 kB / 0.9817 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1809, allocations: 34.25 kB / 0.9817 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1809, allocations: 192 / 0.9817 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1809, allocations: 3.938 kB / 0.9817 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1809, allocations: 0 / 0.9817 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.181, allocations: 11.92 kB / 0.9817 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.796e-05/0.1811, allocations: 153.7 kB / 0.9819 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.1812, allocations: 22.59 kB / 0.9819 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.1812, allocations: 8.922 kB / 0.9819 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1812, allocations: 0 / 0.9819 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.1813, allocations: 38.56 kB / 0.9819 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1813, allocations: 0 / 0.9819 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001872/0.1815, allocations: 57.55 kB / 0.982 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.1815, allocations: 51.41 kB / 0.982 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.698e-05/0.1815, allocations: 89.86 kB / 0.9821 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.1815, allocations: 25.7 kB / 0.9822 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.333e-05/0.1815, allocations: 84.14 kB / 0.9822 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1816, allocations: 3.906 kB / 0.9822 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.1816, allocations: 0 / 0.9822 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.1816, allocations: 323 kB / 0.9825 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.1817, allocations: 0 / 0.9825 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.1817, allocations: 11.98 kB / 0.9826 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.1818, allocations: 16.8 kB / 0.9826 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1818, allocations: 0 / 0.9826 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.852e-05/0.1819, allocations: 49.67 kB / 0.9826 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1819, allocations: 4 kB / 0.9826 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1819, allocations: 4 kB / 0.9826 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1819, allocations: 3.938 kB / 0.9826 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.182, allocations: 0 / 0.9826 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.182, allocations: 0 / 0.9826 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.1821, allocations: 7.984 kB / 0.9826 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1821, allocations: 0 / 0.9826 GB, free: 25.19 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 4.738e-05/0.1821, allocations: 109.9 kB / 0.9827 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.1821, allocations: 4 kB / 0.9827 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.1822, allocations: 11.12 kB / 0.9828 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1822, allocations: 3.938 kB / 0.9828 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1822, allocations: 3.938 kB / 0.9828 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.1822, allocations: 77.39 kB / 0.9828 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1822, allocations: 3.984 kB / 0.9828 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.1823, allocations: 4 kB / 0.9828 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.1823, allocations: 0 / 0.9828 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001208/0.1824, allocations: 120.9 kB / 0.983 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00012/0.1825, allocations: 214.8 kB / 0.9832 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.036e-05/0.1826, allocations: 7.984 kB / 0.9832 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.443e-05/0.1826, allocations: 83.33 kB / 0.9833 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of Backend: time 2.9e-07/0.1826, allocations: 4 kB / 0.9833 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.183, allocations: 84.23 kB / 0.9833 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0001956/0.1832, allocations: 0.5273 MB / 0.9839 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.001923/0.1851, allocations: 431.1 kB / 0.9843 GB, free: 23.43 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)