Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.576/2.576, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 169 kB / 360.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 89.78 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.695e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.7896, allocations: 115.3 MB / 0.9635 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/1.02, allocations: 136.4 MB / 1.097 GB, free: 4.109 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.02, allocations: 76.61 kB / 1.097 GB, free: 4.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001807/1.022, allocations: 0.5396 MB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.022, allocations: 3.938 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.199e-06/1.022, allocations: 0.5312 kB / 1.097 GB, free: 3.5 MB / 0.698 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.0002557/1.022, allocations: 310.3 kB / 1.098 GB, free: 3.156 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.022, allocations: 13.03 kB / 1.098 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/1.022, allocations: 21.77 kB / 1.098 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/1.023, allocations: 167.1 kB / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/1.023, allocations: 0 / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/1.023, allocations: 0.6875 kB / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.395e-05/1.023, allocations: 0 / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.807e-05/1.023, allocations: 34.41 kB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.023, allocations: 1.219 kB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.023, allocations: 2.734 kB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.023, allocations: 0 / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/1.023, allocations: 127 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/1.023, allocations: 24.02 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/1.023, allocations: 4.859 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/1.023, allocations: 3.984 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.023, allocations: 39.78 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/1.023, allocations: 0.9062 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000129/1.023, allocations: 29.7 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/1.023, allocations: 52.09 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.497e-05/1.023, allocations: 85.5 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.023, allocations: 25.7 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/1.023, allocations: 80.67 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/1.023, allocations: 0.5938 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.024, allocations: 0.5 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.024, allocations: 312.3 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/1.024, allocations: 11.92 kB / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/1.024, allocations: 0 / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/1.024, allocations: 0.8438 kB / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.024, allocations: 0 / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.546e-05/1.024, allocations: 42.16 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.024, allocations: 4.781 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.024, allocations: 0 / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.024, allocations: 0.625 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.024, allocations: 8.797 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.024, allocations: 5.656 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/1.024, allocations: 6.719 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/1.024, allocations: 4 kB / 1.099 GB, free: 1.941 MB / 0.698 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 () * 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.492e-05/1.024, allocations: 105.9 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/1.024, allocations: 4.516 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/1.024, allocations: 5.188 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.024, allocations: 3.984 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.024, allocations: 2.5 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.024, allocations: 4 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.668e-05/1.024, allocations: 122.2 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.024, allocations: 0 / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/1.024, allocations: 11.92 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.024, allocations: 2.672 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/1.024, allocations: 0 / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.025, allocations: 4.828 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.025, allocations: 0 / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.556e-05/1.025, allocations: 58.73 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/1.025, allocations: 81.75 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/1.025, allocations: 2.188 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/1.025, allocations: 3.5 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/1.025, allocations: 3.953 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.025, allocations: 4 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.144e-05/1.025, allocations: 75.28 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.025, allocations: 0 / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002234/1.025, allocations: 0 / 1.099 GB, free: 1.391 MB / 0.698 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 () * 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.0001339/1.025, allocations: 98.31 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.077e-05/1.025, allocations: 11.92 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.025, allocations: 2.812 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/1.025, allocations: 4 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/1.025, allocations: 0 / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/1.026, allocations: 52.28 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/1.026, allocations: 0.6729 MB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.283e-05/1.026, allocations: 0 / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/1.026, allocations: 7.438 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.026, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of Templates: time 0.002234/1.028, allocations: 218.8 kB / 1.1 GB, free: 312 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)