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.001404/0.001404, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00152/0.00152, allocations: 177.3 kB / 15.95 MB, free: 216 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.796/1.796, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.759/1.759, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0005981/0.0005981, allocations: 23.12 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6653, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007675/0.6661, allocations: 321.3 kB / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.6664, allocations: 46.42 kB / 0.7283 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.6664, allocations: 0 / 0.7283 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.6664, allocations: 4 kB / 0.7283 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.6664, allocations: 0 / 0.7283 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.6667, allocations: 15.92 kB / 0.7283 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.906e-05/0.6667, allocations: 4 kB / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.6668, allocations: 0 / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.6668, allocations: 0 / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.6668, allocations: 3.984 kB / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.6668, allocations: 0 / 0.7284 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.6669, allocations: 23.97 kB / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.667, allocations: 0 / 0.7284 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.667, allocations: 29.7 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.184e-05/0.667, allocations: 11.98 kB / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.6671, allocations: 0 / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6671, allocations: 0 / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6671, allocations: 0 / 0.7284 GB, free: 10.97 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.0002733/0.6673, allocations: 311.4 kB / 0.7287 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6674, allocations: 8.031 kB / 0.7287 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.6677, allocations: 23.88 kB / 0.7287 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.6678, allocations: 171 kB / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6678, allocations: 4 kB / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.6678, allocations: 0 / 0.7289 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.6679, allocations: 37.62 kB / 0.7289 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.668, allocations: 3.938 kB / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.668, allocations: 0 / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.668, allocations: 0 / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.6681, allocations: 7.984 kB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.6682, allocations: 157.6 kB / 0.7291 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.6683, allocations: 22.59 kB / 0.7291 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6683, allocations: 0 / 0.7291 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.6684, allocations: 34.5 kB / 0.7292 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.6684, allocations: 0 / 0.7292 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002288/0.6686, allocations: 57.72 kB / 0.7292 GB, free: 9.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6687, allocations: 51.41 kB / 0.7293 GB, free: 9.922 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.223e-05/0.6687, allocations: 89.86 kB / 0.7294 GB, free: 9.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.6687, allocations: 25.7 kB / 0.7294 GB, free: 9.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.6688, allocations: 86.94 kB / 0.7295 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.6688, allocations: 0 / 0.7295 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6688, allocations: 0 / 0.7295 GB, free: 9.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6689, allocations: 314.8 kB / 0.7298 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.669, allocations: 8.109 kB / 0.7298 GB, free: 9.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.669, allocations: 4 kB / 0.7298 GB, free: 9.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.6691, allocations: 7.984 kB / 0.7298 GB, free: 9.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6691, allocations: 0 / 0.7298 GB, free: 9.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001095/0.6692, allocations: 49.58 kB / 0.7298 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6692, allocations: 8 kB / 0.7298 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6692, allocations: 0 / 0.7298 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6692, allocations: 4.094 kB / 0.7298 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.6693, allocations: 4 kB / 0.7298 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6693, allocations: 3.984 kB / 0.7298 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.6694, allocations: 0 / 0.7298 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6694, allocations: 0 / 0.7298 GB, free: 9.297 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 7.502e-05/0.6694, allocations: 109.8 kB / 0.73 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.6695, allocations: 3.953 kB / 0.73 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.6695, allocations: 3.125 kB / 0.73 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6695, allocations: 4 kB / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6695, allocations: 0 / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6695, allocations: 0 / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.6696, allocations: 155.6 kB / 0.7301 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6696, allocations: 3.938 kB / 0.7301 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.6697, allocations: 0 / 0.7301 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6697, allocations: 3.953 kB / 0.7301 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.6697, allocations: 7.984 kB / 0.7301 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6697, allocations: 0 / 0.7301 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6697, allocations: 3.938 kB / 0.7301 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.6698, allocations: 61.12 kB / 0.7302 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.6699, allocations: 77.11 kB / 0.7303 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.6699, allocations: 7.953 kB / 0.7303 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.6699, allocations: 7.984 kB / 0.7303 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.67, allocations: 4 kB / 0.7303 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.67, allocations: 0 / 0.7303 GB, free: 8.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.465e-05/0.67, allocations: 79.31 kB / 0.7304 GB, free: 8.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.67, allocations: 4 kB / 0.7304 GB, free: 8.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001688/0.6702, allocations: 0 / 0.7304 GB, free: 8.676 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.0001163/0.6703, allocations: 95.25 kB / 0.7305 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.6704, allocations: 15.92 kB / 0.7305 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6704, allocations: 0 / 0.7305 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.6705, allocations: 12.05 kB / 0.7305 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.6706, allocations: 7.031 kB / 0.7305 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.6708, allocations: 78.75 kB / 0.7306 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.6711, allocations: 0.6731 MB / 0.7312 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.6711, allocations: 4.047 kB / 0.7312 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.6712, allocations: 19.44 kB / 0.7312 GB, free: 7.715 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6712, allocations: 0 / 0.7312 GB, free: 7.715 MB / 0.545 GB Notification: Performance of Templates: time 0.002017/0.6732, allocations: 208.2 kB / 0.7314 GB, free: 7.512 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: