Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006858/0.006859, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005052, allocations: 14.81 kB / 0.6743 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1964, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0008528/0.1973, allocations: 323.5 kB / 0.7882 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.1976, allocations: 47.86 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-06/0.1977, allocations: 4 kB / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1977, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-06/0.1977, allocations: 0 / 0.7882 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1979, allocations: 15.92 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.9e-05/0.198, allocations: 4 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.198, allocations: 4 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.1981, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.1981, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1981, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1983, allocations: 23.97 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.1983, allocations: 4 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.1983, allocations: 29.69 kB / 0.7883 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.1984, allocations: 19.92 kB / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1985, allocations: 0 / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1985, allocations: 0 / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1985, allocations: 0 / 0.7883 GB, free: 11.08 MB / 0.6075 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.0002702/0.1988, allocations: 315.6 kB / 0.7886 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1988, allocations: 8.031 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.1991, allocations: 20.91 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.1992, allocations: 160.4 kB / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1993, allocations: 384 / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1993, allocations: 4.375 kB / 0.7888 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1994, allocations: 38.19 kB / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1995, allocations: 192 / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1995, allocations: 3.938 kB / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1995, allocations: 3.984 kB / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1996, allocations: 11.98 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1998, allocations: 153.7 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.1999, allocations: 18.58 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.2, allocations: 8.844 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2, allocations: 4.062 kB / 0.7891 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2, allocations: 38.44 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.2001, allocations: 4 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002974/0.2004, allocations: 53.61 kB / 0.7892 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2004, allocations: 51.41 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.2005, allocations: 89.86 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2005, allocations: 25.7 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.2005, allocations: 80.14 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2006, allocations: 3.906 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.2006, allocations: 13.84 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2007, allocations: 310.8 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.2008, allocations: 11.98 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.2009, allocations: 4 kB / 0.7897 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.201, allocations: 20.78 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.201, allocations: 0 / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001696/0.2012, allocations: 45.69 kB / 0.7898 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2012, allocations: 4 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2012, allocations: 0 / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2013, allocations: 7.938 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.2013, allocations: 3.984 kB / 0.7898 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2014, allocations: 0 / 0.7898 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.2014, allocations: 8 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2014, allocations: 0 / 0.7898 GB, free: 9.359 MB / 0.6075 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 7.615e-05/0.2015, allocations: 109.9 kB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.2015, allocations: 0 / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.2016, allocations: 19.05 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2016, allocations: 0 / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2016, allocations: 3.938 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2016, allocations: 0 / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.927e-05/0.2017, allocations: 146 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2017, allocations: 0 / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.2018, allocations: 7.984 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2018, allocations: 4 kB / 0.7901 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.2018, allocations: 3.938 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2018, allocations: 0 / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2018, allocations: 0 / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.202, allocations: 65.12 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.2021, allocations: 81.09 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2021, allocations: 3.938 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.2022, allocations: 8.031 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.2022, allocations: 0 / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2022, allocations: 0 / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.2022, allocations: 75.28 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2023, allocations: 3.938 kB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002687/0.2025, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.6075 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 0.000145/0.2027, allocations: 107.1 kB / 0.7904 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.2029, allocations: 19.97 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2029, allocations: 0 / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.2029, allocations: 4 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2031, allocations: 3.094 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.2034, allocations: 86.69 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.2037, allocations: 0.6731 MB / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.711e-05/0.2037, allocations: 8.109 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.2038, allocations: 7.438 kB / 0.7912 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.2038, allocations: 0 / 0.7912 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.002361/0.2061, allocations: 223.2 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: