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.001009/0.001009, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.21/1.21, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.342/1.342, allocations: 251.7 MB / 0.5092 GB, free: 3.129 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.001307/0.001307, allocations: 67.91 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3974, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00159/0.3991, allocations: 0.5863 MB / 0.7251 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.3993, allocations: 51.8 kB / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.3993, allocations: 4 kB / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3994, allocations: 0 / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.3994, allocations: 0 / 0.7251 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3996, allocations: 19.86 kB / 0.7252 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.3996, allocations: 4 kB / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.3997, allocations: 3.984 kB / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.3997, allocations: 3.984 kB / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.3997, allocations: 0 / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.3997, allocations: 0 / 0.7252 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.3998, allocations: 23.98 kB / 0.7252 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.3998, allocations: 4 kB / 0.7252 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.3999, allocations: 0 / 0.7252 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.3999, allocations: 11.98 kB / 0.7252 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4, allocations: 0 / 0.7252 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4, allocations: 0 / 0.7252 GB, free: 12.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.4, allocations: 0 / 0.7252 GB, free: 12.23 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.0002598/0.4002, allocations: 319.6 kB / 0.7255 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.4003, allocations: 8.031 kB / 0.7255 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.4005, allocations: 28.81 kB / 0.7256 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.4006, allocations: 160.4 kB / 0.7257 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4006, allocations: 4.312 kB / 0.7257 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.4006, allocations: 384 / 0.7257 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.4008, allocations: 38.23 kB / 0.7257 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4008, allocations: 4.125 kB / 0.7258 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4008, allocations: 3.938 kB / 0.7258 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4008, allocations: 0 / 0.7258 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.4009, allocations: 15.98 kB / 0.7258 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.401, allocations: 145.7 kB / 0.7259 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.4011, allocations: 26.53 kB / 0.7259 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.4012, allocations: 8.922 kB / 0.7259 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.4012, allocations: 3.984 kB / 0.7259 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4012, allocations: 34.56 kB / 0.726 GB, free: 11.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.4012, allocations: 0 / 0.726 GB, free: 11.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002196/0.4014, allocations: 57.55 kB / 0.726 GB, free: 11.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.4015, allocations: 51.41 kB / 0.7261 GB, free: 11.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.746e-05/0.4015, allocations: 89.86 kB / 0.7262 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.4015, allocations: 25.7 kB / 0.7262 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.4015, allocations: 80.14 kB / 0.7263 GB, free: 10.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.4016, allocations: 4.125 kB / 0.7263 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.4016, allocations: 17.7 kB / 0.7263 GB, free: 10.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4017, allocations: 314.8 kB / 0.7266 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.4018, allocations: 7.938 kB / 0.7266 GB, free: 10.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.4018, allocations: 7.984 kB / 0.7266 GB, free: 10.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.127e-05/0.4019, allocations: 12.84 kB / 0.7266 GB, free: 10.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4019, allocations: 4.062 kB / 0.7266 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.402, allocations: 41.69 kB / 0.7267 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.402, allocations: 4 kB / 0.7267 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.402, allocations: 0 / 0.7267 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4021, allocations: 3.938 kB / 0.7267 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.4021, allocations: 8 kB / 0.7267 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4021, allocations: 3.984 kB / 0.7267 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.4022, allocations: 4 kB / 0.7267 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.4022, allocations: 3.938 kB / 0.7267 GB, free: 10.49 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.628e-05/0.4022, allocations: 113.9 kB / 0.7268 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.4023, allocations: 3.984 kB / 0.7268 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.4023, allocations: 7.062 kB / 0.7268 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.4023, allocations: 0 / 0.7268 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4023, allocations: 4 kB / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4023, allocations: 0 / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.705e-05/0.4024, allocations: 151.6 kB / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4024, allocations: 0 / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.4024, allocations: 8 kB / 0.727 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4024, allocations: 0 / 0.727 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4025, allocations: 7.922 kB / 0.727 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4025, allocations: 0 / 0.727 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4025, allocations: 0 / 0.727 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4026, allocations: 65.12 kB / 0.727 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.4026, allocations: 77.11 kB / 0.7271 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.4026, allocations: 7.969 kB / 0.7271 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.4027, allocations: 3.984 kB / 0.7271 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.4027, allocations: 7.938 kB / 0.7271 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4027, allocations: 0 / 0.7271 GB, free: 9.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.4027, allocations: 78.19 kB / 0.7272 GB, free: 9.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4027, allocations: 0 / 0.7272 GB, free: 9.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001617/0.4029, allocations: 0 / 0.7272 GB, free: 9.871 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 0.0001013/0.403, allocations: 103.2 kB / 0.7273 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.4031, allocations: 15.98 kB / 0.7273 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4032, allocations: 0 / 0.7273 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.4032, allocations: 11.98 kB / 0.7273 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.4033, allocations: 3.266 kB / 0.7273 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.4035, allocations: 88.83 kB / 0.7274 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.4037, allocations: 0.673 MB / 0.7281 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.4038, allocations: 7.938 kB / 0.7281 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.4038, allocations: 7.438 kB / 0.7281 GB, free: 8.902 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4038, allocations: 0 / 0.7281 GB, free: 8.902 MB / 0.545 GB Notification: Performance of Templates: time 0.001593/0.4054, allocations: 232.8 kB / 0.7283 GB, free: 8.676 MB / 0.545 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)