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.0008639/0.0008642, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008684/0.0008684, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.55/1.55, allocations: 252 MB / 0.5102 GB, free: 4.77 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.0005358/0.0005359, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.5577, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0008946/0.5586, allocations: 320.6 kB / 0.7284 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.5589, allocations: 43.91 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.245e-05/0.5589, allocations: 3.938 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.5589, allocations: 0 / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-06/0.5589, allocations: 0 / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.5592, allocations: 23.97 kB / 0.7285 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.5592, allocations: 0 / 0.7285 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.749e-05/0.5593, allocations: 0 / 0.7285 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.5593, allocations: 3.938 kB / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.5594, allocations: 4 kB / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.5594, allocations: 0 / 0.7285 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.5595, allocations: 19.97 kB / 0.7285 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.5595, allocations: 0 / 0.7285 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.5595, allocations: 25.7 kB / 0.7286 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.386e-05/0.5596, allocations: 11.98 kB / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5596, allocations: 0 / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5596, allocations: 4 kB / 0.7286 GB, free: 10.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5596, allocations: 0 / 0.7286 GB, free: 10.95 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.0002682/0.5599, allocations: 307.4 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.56, allocations: 12.09 kB / 0.7289 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.5602, allocations: 23.86 kB / 0.7289 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.5603, allocations: 167 kB / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5603, allocations: 0 / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.5603, allocations: 0 / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5605, allocations: 37.69 kB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5605, allocations: 0 / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.5605, allocations: 7.938 kB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5605, allocations: 0 / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.5606, allocations: 7.984 kB / 0.7291 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.5608, allocations: 149.6 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.5608, allocations: 26.59 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.5609, allocations: 15.77 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.5609, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.561, allocations: 30.56 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.561, allocations: 4 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002137/0.5612, allocations: 41.75 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.5612, allocations: 59.41 kB / 0.7294 GB, free: 9.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.5613, allocations: 97.84 kB / 0.7295 GB, free: 9.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5613, allocations: 25.7 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.5613, allocations: 80.14 kB / 0.7296 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.5614, allocations: 0 / 0.7296 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.5614, allocations: 0 / 0.7296 GB, free: 9.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5616, allocations: 310.8 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.5616, allocations: 4 kB / 0.7299 GB, free: 9.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.5616, allocations: 15.92 kB / 0.7299 GB, free: 9.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.5617, allocations: 0 / 0.7299 GB, free: 9.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5617, allocations: 7.953 kB / 0.7299 GB, free: 9.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.5618, allocations: 49.61 kB / 0.73 GB, free: 9.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5618, allocations: 5.719 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5619, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5619, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.5619, allocations: 8.094 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.562, allocations: 0 / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.562, allocations: 4 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.562, allocations: 3.984 kB / 0.73 GB, free: 9.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.5621, allocations: 105.8 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.5621, allocations: 3.953 kB / 0.7301 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.5622, allocations: 7.062 kB / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.5622, allocations: 0 / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5622, allocations: 8 kB / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.5622, allocations: 0 / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.38e-05/0.5623, allocations: 151.6 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5623, allocations: 4 kB / 0.7303 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.5623, allocations: 7.953 kB / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5624, allocations: 0 / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5624, allocations: 0 / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5624, allocations: 0 / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5624, allocations: 0 / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.5626, allocations: 77.05 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.5626, allocations: 81.09 kB / 0.7304 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5626, allocations: 3.953 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.5627, allocations: 0 / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.5627, allocations: 4 kB / 0.7305 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.5627, allocations: 3.984 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.363e-05/0.5628, allocations: 75.28 kB / 0.7305 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5628, allocations: 4.031 kB / 0.7305 GB, free: 8.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001755/0.563, allocations: 0 / 0.7305 GB, free: 8.648 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.5631, allocations: 103.2 kB / 0.7306 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.5633, allocations: 11.98 kB / 0.7306 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5633, allocations: 3.938 kB / 0.7306 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.5633, allocations: 4 kB / 0.7306 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5635, allocations: 4.125 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.5637, allocations: 86.64 kB / 0.7307 GB, free: 8.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.564, allocations: 0.6731 MB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.564, allocations: 4 kB / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.5641, allocations: 11.38 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5641, allocations: 4 kB / 0.7314 GB, free: 7.684 MB / 0.545 GB Notification: Performance of Templates: time 0.002091/0.5662, allocations: 214.7 kB / 0.7316 GB, free: 7.477 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: