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.0007066/0.0007068, allocations: 91.84 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.004333/0.004333, allocations: 169.9 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.163/1.163, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.348/1.348, allocations: 252 MB / 0.5105 GB, free: 4.617 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.0004782/0.0004783, allocations: 20.56 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006269/0.3794, allocations: 328.6 kB / 0.729 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.3797, allocations: 47.86 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-06/0.3797, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.3797, allocations: 4 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.3797, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3799, allocations: 15.86 kB / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.976e-05/0.3799, allocations: 4 kB / 0.7291 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.38, allocations: 0 / 0.7291 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.38, allocations: 0 / 0.7291 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.38, allocations: 4 kB / 0.7291 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.38, allocations: 4 kB / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.3801, allocations: 27.95 kB / 0.7292 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.3801, allocations: 0 / 0.7292 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.3802, allocations: 25.7 kB / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.497e-05/0.3803, allocations: 11.98 kB / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3803, allocations: 0 / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3803, allocations: 0 / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.3803, allocations: 0 / 0.7292 GB, free: 10.79 MB / 0.545 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.0002166/0.3805, allocations: 315.6 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3805, allocations: 8.031 kB / 0.7295 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.3808, allocations: 28.8 kB / 0.7295 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.3809, allocations: 160.4 kB / 0.7297 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3809, allocations: 4.312 kB / 0.7297 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.3809, allocations: 4.375 kB / 0.7297 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.381, allocations: 41.05 kB / 0.7297 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.381, allocations: 4.125 kB / 0.7297 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3811, allocations: 3.938 kB / 0.7297 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3811, allocations: 4 kB / 0.7297 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.3811, allocations: 7.984 kB / 0.7297 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.3813, allocations: 149.7 kB / 0.7299 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.3813, allocations: 22.59 kB / 0.7299 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.3814, allocations: 8.844 kB / 0.7299 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3814, allocations: 4.062 kB / 0.7299 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3815, allocations: 38.5 kB / 0.73 GB, free: 9.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3815, allocations: 0 / 0.73 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002054/0.3817, allocations: 49.62 kB / 0.73 GB, free: 9.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3817, allocations: 51.41 kB / 0.7301 GB, free: 9.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.723e-05/0.3817, allocations: 93.84 kB / 0.7301 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3818, allocations: 25.7 kB / 0.7302 GB, free: 9.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.3818, allocations: 84.27 kB / 0.7302 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3818, allocations: 0 / 0.7302 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.3818, allocations: 9.719 kB / 0.7303 GB, free: 9.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.3819, allocations: 314.8 kB / 0.7306 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.382, allocations: 0 / 0.7306 GB, free: 9.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.382, allocations: 7.984 kB / 0.7306 GB, free: 9.168 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.3821, allocations: 28.84 kB / 0.7306 GB, free: 9.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3821, allocations: 0 / 0.7306 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001133/0.3822, allocations: 37.69 kB / 0.7306 GB, free: 9.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3822, allocations: 4 kB / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3823, allocations: 4 kB / 0.7306 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3823, allocations: 3.938 kB / 0.7306 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.3823, allocations: 3.984 kB / 0.7306 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3824, allocations: 0 / 0.7306 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.3824, allocations: 8.031 kB / 0.7307 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.3824, allocations: 0 / 0.7307 GB, free: 9.07 MB / 0.545 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.304e-05/0.3825, allocations: 105.8 kB / 0.7308 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.3825, allocations: 4 kB / 0.7308 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.3825, allocations: 7.062 kB / 0.7308 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3825, allocations: 0 / 0.7308 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3825, allocations: 3.984 kB / 0.7308 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3825, allocations: 0 / 0.7308 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.3826, allocations: 155.5 kB / 0.7309 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3826, allocations: 4 kB / 0.7309 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.3827, allocations: 7.984 kB / 0.7309 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3827, allocations: 3.938 kB / 0.7309 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3827, allocations: 3.938 kB / 0.7309 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3827, allocations: 4 kB / 0.7309 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3827, allocations: 4 kB / 0.7309 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3828, allocations: 61.12 kB / 0.731 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.3829, allocations: 81.11 kB / 0.7311 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3829, allocations: 7.922 kB / 0.7311 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.3829, allocations: 4 kB / 0.7311 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-06/0.3829, allocations: 0 / 0.7311 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3829, allocations: 0 / 0.7311 GB, free: 8.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.383, allocations: 75.28 kB / 0.7312 GB, free: 8.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.383, allocations: 0 / 0.7312 GB, free: 8.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001632/0.3831, allocations: 4 kB / 0.7312 GB, free: 8.449 MB / 0.545 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 9.821e-05/0.3832, allocations: 107.2 kB / 0.7313 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3833, allocations: 11.98 kB / 0.7313 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3834, allocations: 0 / 0.7313 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.3834, allocations: 7.984 kB / 0.7313 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.3835, allocations: 0 / 0.7313 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.3837, allocations: 90.78 kB / 0.7314 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3839, allocations: 0.6731 MB / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.3839, allocations: 0 / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.384, allocations: 7.438 kB / 0.732 GB, free: 7.492 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.384, allocations: 0 / 0.732 GB, free: 7.492 MB / 0.545 GB Notification: Performance of Templates: time 0.001535/0.3855, allocations: 231.6 kB / 0.7323 GB, free: 7.27 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: