Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9924/0.9924, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.01/2.01, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.554e-05, allocations: 5.141 kB / 0.7753 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001172/0.001188, allocations: 0.6618 MB / 0.7759 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.001392, allocations: 48.91 kB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.001406, allocations: 0 / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.001422, allocations: 2.75 kB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.001429, allocations: 0 / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.001643, allocations: 15.92 kB / 0.776 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.858e-05/0.001681, allocations: 4.531 kB / 0.776 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.001711, allocations: 0 / 0.776 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.001739, allocations: 4 kB / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.001761, allocations: 0.6562 kB / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.001771, allocations: 2.969 kB / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.001872, allocations: 19.98 kB / 0.776 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.001882, allocations: 0 / 0.776 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.207e-06/0.001892, allocations: 0.6562 kB / 0.776 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.008e-05/0.001962, allocations: 27.89 kB / 0.776 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.001964, allocations: 0 / 0.776 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.001964, allocations: 0.7656 kB / 0.776 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.001968, allocations: 0 / 0.776 GB, free: 4.582 MB / 0.7292 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.0001664/0.002134, allocations: 209.4 kB / 0.7762 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.002166, allocations: 14.03 kB / 0.7762 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.002339, allocations: 13.45 kB / 0.7762 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.092e-05/0.00239, allocations: 102.4 kB / 0.7763 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.002399, allocations: 5.25 kB / 0.7764 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.002405, allocations: 5.156 kB / 0.7764 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.002497, allocations: 47.52 kB / 0.7764 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.002502, allocations: 192 / 0.7764 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.002508, allocations: 5.281 kB / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002512, allocations: 384 / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.002529, allocations: 9.172 kB / 0.7764 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.982e-05/0.002598, allocations: 61.05 kB / 0.7765 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.002641, allocations: 16.34 kB / 0.7765 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.002655, allocations: 9.797 kB / 0.7765 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.002667, allocations: 3.984 kB / 0.7765 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.002686, allocations: 35.03 kB / 0.7765 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.002687, allocations: 1.5 kB / 0.7765 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.976e-05/0.002767, allocations: 33.69 kB / 0.7766 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.002793, allocations: 51.41 kB / 0.7766 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.557e-05/0.002818, allocations: 94.89 kB / 0.7767 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.002828, allocations: 31.23 kB / 0.7767 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.002848, allocations: 80.64 kB / 0.7768 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.002874, allocations: 3.984 kB / 0.7768 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.002895, allocations: 14.47 kB / 0.7768 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.002965, allocations: 314.8 kB / 0.7771 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-06/0.002972, allocations: 1.594 kB / 0.7771 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.002978, allocations: 0 / 0.7771 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.003003, allocations: 17.69 kB / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003004, allocations: 0 / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.418e-05/0.003039, allocations: 30.95 kB / 0.7772 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.00305, allocations: 8 kB / 0.7772 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.003054, allocations: 0 / 0.7772 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.003064, allocations: 5.75 kB / 0.7772 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.003112, allocations: 7.984 kB / 0.7772 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.003115, allocations: 0.6562 kB / 0.7772 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.003126, allocations: 352 / 0.7772 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00313, allocations: 0 / 0.7772 GB, free: 3.238 MB / 0.7292 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 4.935e-05/0.00318, allocations: 115 kB / 0.7773 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-06/0.003183, allocations: 0 / 0.7773 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.003201, allocations: 7.594 kB / 0.7773 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.003202, allocations: 2 kB / 0.7773 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.003203, allocations: 0 / 0.7773 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.003206, allocations: 0 / 0.7773 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.615e-05/0.003252, allocations: 77.77 kB / 0.7774 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003253, allocations: 0.7812 kB / 0.7774 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.003264, allocations: 0 / 0.7774 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.003265, allocations: 0.5 kB / 0.7774 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.003268, allocations: 4.531 kB / 0.7774 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.003268, allocations: 2.438 kB / 0.7774 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.00327, allocations: 3.984 kB / 0.7774 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.784e-05/0.003318, allocations: 57.06 kB / 0.7775 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.003322, allocations: 7.953 kB / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003329, allocations: 1.219 kB / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.003337, allocations: 0 / 0.7775 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.003349, allocations: 4.859 kB / 0.7775 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.003352, allocations: 5.031 kB / 0.7775 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.785e-06/0.00336, allocations: 8.797 kB / 0.7775 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00336, allocations: 0 / 0.7775 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.867e-05/0.003449, allocations: 1.312 kB / 0.7775 GB, free: 2.906 MB / 0.7292 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 6.206e-05/0.003511, allocations: 76.42 kB / 0.7776 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.918e-05/0.00356, allocations: 13.88 kB / 0.7776 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.003562, allocations: 0 / 0.7776 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-06/0.00357, allocations: 7.406 kB / 0.7776 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.282e-05/0.003633, allocations: 11.92 kB / 0.7776 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001545/0.003788, allocations: 75.97 kB / 0.7777 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.003815, allocations: 55.36 kB / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.003834, allocations: 0.875 kB / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.003867, allocations: 56.14 kB / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.003868, allocations: 0 / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of Templates: time 0.001382/0.00525, allocations: 288.1 kB / 0.7781 GB, free: 2.285 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.949166554957628]