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.0009206/0.0009206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009309/0.0009309, allocations: 197 kB / 16.14 MB, free: 6.703 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.1 MB / 222 MB, free: 4.996 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.312/1.312, allocations: 251.6 MB / 0.5088 GB, free: 3.348 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.00115/0.00115, allocations: 59.92 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.381, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001545/0.3826, allocations: 0.6481 MB / 0.7245 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002255/0.3829, allocations: 51.8 kB / 0.7245 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-06/0.3829, allocations: 0 / 0.7245 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3829, allocations: 3.938 kB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-06/0.3829, allocations: 7.938 kB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3831, allocations: 11.97 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.121e-05/0.3831, allocations: 4 kB / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.3832, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.185e-05/0.3832, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.3832, allocations: 8 kB / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3832, allocations: 0 / 0.7245 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.3833, allocations: 19.97 kB / 0.7246 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.3833, allocations: 0 / 0.7246 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.3834, allocations: 4 kB / 0.7246 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.204e-05/0.3834, allocations: 15.97 kB / 0.7246 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3835, allocations: 0 / 0.7246 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3835, allocations: 0 / 0.7246 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3835, allocations: 0 / 0.7246 GB, free: 12.39 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.00023/0.3837, allocations: 327.5 kB / 0.7249 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3837, allocations: 12.03 kB / 0.7249 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.384, allocations: 20.91 kB / 0.7249 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.719e-05/0.384, allocations: 163.2 kB / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3841, allocations: 384 / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3841, allocations: 384 / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3842, allocations: 38.19 kB / 0.7251 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3842, allocations: 192 / 0.7251 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.3842, allocations: 7.938 kB / 0.7251 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3842, allocations: 0 / 0.7251 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.3843, allocations: 11.98 kB / 0.7251 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.3844, allocations: 149.7 kB / 0.7253 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.031e-05/0.3845, allocations: 18.61 kB / 0.7253 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.3845, allocations: 12.91 kB / 0.7253 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3846, allocations: 4 kB / 0.7253 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3846, allocations: 34.5 kB / 0.7253 GB, free: 11.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3846, allocations: 0 / 0.7253 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001868/0.3848, allocations: 53.61 kB / 0.7254 GB, free: 11.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.3848, allocations: 51.41 kB / 0.7254 GB, free: 11.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/0.3848, allocations: 89.86 kB / 0.7255 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3849, allocations: 25.83 kB / 0.7255 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.3849, allocations: 84.14 kB / 0.7256 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3849, allocations: 4 kB / 0.7256 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.3849, allocations: 9.719 kB / 0.7256 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.385, allocations: 310.8 kB / 0.7259 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.3851, allocations: 7.984 kB / 0.7259 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.3851, allocations: 7.938 kB / 0.726 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.3852, allocations: 28.84 kB / 0.726 GB, free: 10.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3852, allocations: 0 / 0.726 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.3853, allocations: 37.69 kB / 0.726 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3853, allocations: 7.984 kB / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3853, allocations: 0 / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.3853, allocations: 3.938 kB / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.3854, allocations: 4 kB / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3854, allocations: 0 / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3855, allocations: 11.97 kB / 0.726 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3855, allocations: 0 / 0.726 GB, free: 10.66 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.434e-05/0.3855, allocations: 109.8 kB / 0.7261 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-06/0.3855, allocations: 0 / 0.7261 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.3856, allocations: 7.062 kB / 0.7262 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3856, allocations: 11.92 kB / 0.7262 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.3856, allocations: 0 / 0.7262 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3856, allocations: 0 / 0.7262 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.706e-05/0.3857, allocations: 155.7 kB / 0.7263 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3857, allocations: 3.984 kB / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3857, allocations: 4 kB / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3857, allocations: 0 / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3857, allocations: 3.938 kB / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3857, allocations: 0 / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3857, allocations: 0 / 0.7263 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3859, allocations: 73.11 kB / 0.7264 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3859, allocations: 77.11 kB / 0.7265 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.3859, allocations: 3.938 kB / 0.7265 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.3859, allocations: 4 kB / 0.7265 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.386, allocations: 0 / 0.7265 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.386, allocations: 0 / 0.7265 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.386, allocations: 75.28 kB / 0.7265 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.252e-06/0.386, allocations: 0 / 0.7265 GB, free: 10.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000161/0.3862, allocations: 3.938 kB / 0.7266 GB, free: 10.05 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.0001154/0.3863, allocations: 107.3 kB / 0.7267 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.3864, allocations: 11.98 kB / 0.7267 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3864, allocations: 0 / 0.7267 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.3865, allocations: 4 kB / 0.7267 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.3866, allocations: 0 / 0.7267 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.3868, allocations: 94.72 kB / 0.7268 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.387, allocations: 0.677 MB / 0.7274 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.3871, allocations: 0 / 0.7274 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.3871, allocations: 7.438 kB / 0.7274 GB, free: 9.086 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3871, allocations: 3.938 kB / 0.7274 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Templates: time 0.001649/0.3888, allocations: 224.6 kB / 0.7276 GB, free: 8.863 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)