Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.005658/0.005658, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001346/0.001346, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.236/1.236, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.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.001369/0.001369, allocations: 75.84 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1937, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001606/0.1953, allocations: 0.5748 MB / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.1956, allocations: 55.78 kB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1957, allocations: 0 / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.1957, allocations: 3.938 kB / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.1957, allocations: 0 / 0.8287 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.196, allocations: 15.98 kB / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.196, allocations: 4 kB / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.1961, allocations: 0 / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.1961, allocations: 0 / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.1962, allocations: 4 kB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1962, allocations: 3.938 kB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1963, allocations: 27.97 kB / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.1963, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1963, allocations: 3.984 kB / 0.8288 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.1964, allocations: 11.98 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1964, allocations: 0 / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1964, allocations: 0 / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.1964, allocations: 0 / 0.8288 GB, free: 15.46 MB / 0.6544 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.0003241/0.1968, allocations: 322 kB / 0.8291 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1968, allocations: 8.031 kB / 0.8291 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.1971, allocations: 24.91 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.1972, allocations: 160.4 kB / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1972, allocations: 384 / 0.8293 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1972, allocations: 4.312 kB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1973, allocations: 38.19 kB / 0.8293 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1974, allocations: 192 / 0.8293 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1974, allocations: 3.938 kB / 0.8293 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1974, allocations: 3.984 kB / 0.8293 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.1975, allocations: 15.94 kB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1976, allocations: 153.6 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.1977, allocations: 18.95 kB / 0.8295 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.1977, allocations: 12.91 kB / 0.8295 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1977, allocations: 0 / 0.8295 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1978, allocations: 34.56 kB / 0.8295 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1978, allocations: 0 / 0.8295 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002244/0.198, allocations: 57.55 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.198, allocations: 51.41 kB / 0.8296 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.1981, allocations: 89.86 kB / 0.8297 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1981, allocations: 25.7 kB / 0.8297 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.1981, allocations: 84.14 kB / 0.8298 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1982, allocations: 8.062 kB / 0.8298 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.1982, allocations: 9.719 kB / 0.8298 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1983, allocations: 318.8 kB / 0.8301 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.1983, allocations: 8 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.1984, allocations: 4 kB / 0.8302 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.1985, allocations: 20.91 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1985, allocations: 0 / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.1986, allocations: 45.61 kB / 0.8302 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1986, allocations: 4 kB / 0.8302 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1986, allocations: 0 / 0.8302 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1986, allocations: 7.938 kB / 0.8302 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.1987, allocations: 0 / 0.8302 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1987, allocations: 0 / 0.8302 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.1987, allocations: 7.984 kB / 0.8302 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1988, allocations: 4.031 kB / 0.8302 GB, free: 13.73 MB / 0.6544 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 5.856e-05/0.1988, allocations: 105.8 kB / 0.8303 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.1988, allocations: 0 / 0.8303 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.1989, allocations: 19.05 kB / 0.8304 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1989, allocations: 0 / 0.8304 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1989, allocations: 7.938 kB / 0.8304 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1989, allocations: 0 / 0.8304 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.211e-05/0.199, allocations: 145.7 kB / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.199, allocations: 0 / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.199, allocations: 8 kB / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.199, allocations: 0 / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.199, allocations: 3.938 kB / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1991, allocations: 3.938 kB / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1991, allocations: 0 / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1992, allocations: 73.05 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.1992, allocations: 81.14 kB / 0.8307 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1992, allocations: 3.938 kB / 0.8307 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.1993, allocations: 4 kB / 0.8307 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.1993, allocations: 3.984 kB / 0.8307 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1993, allocations: 0 / 0.8307 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.1993, allocations: 75.28 kB / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1993, allocations: 0 / 0.8308 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000164/0.1995, allocations: 0 / 0.8308 GB, free: 13.1 MB / 0.6544 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.0001067/0.1996, allocations: 106.5 kB / 0.8309 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1997, allocations: 11.98 kB / 0.8309 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1998, allocations: 0 / 0.8309 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.1998, allocations: 11.92 kB / 0.8309 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1999, allocations: 6.812 kB / 0.8309 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.2002, allocations: 86.72 kB / 0.831 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2005, allocations: 0.6807 MB / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.2006, allocations: 0 / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.2006, allocations: 7.438 kB / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2006, allocations: 0 / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.001788/0.2024, allocations: 230.5 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)