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.0009505/0.0009505, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001087/0.001087, allocations: 165.9 kB / 24.97 MB, free: 9.184 MB / 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 1.005/1.005, allocations: 177.1 MB / 205.4 MB, free: 5.488 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 1.986/1.986, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.813e-06/1.813e-06, allocations: 0 / 0.776 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.174e-05, allocations: 3.188 kB / 0.776 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.00144/0.001462, allocations: 0.6577 MB / 0.7767 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.001689, allocations: 44.84 kB / 0.7767 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.001704, allocations: 1.125 kB / 0.7767 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.001718, allocations: 3.938 kB / 0.7767 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.001725, allocations: 0 / 0.7767 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.001929, allocations: 12.73 kB / 0.7767 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.00197, allocations: 0.875 kB / 0.7767 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.002007, allocations: 4.656 kB / 0.7767 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.002034, allocations: 0.7188 kB / 0.7767 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.453e-05/0.002058, allocations: 3.984 kB / 0.7767 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.00207, allocations: 1.531 kB / 0.7767 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.002181, allocations: 19.98 kB / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.00219, allocations: 4.531 kB / 0.7768 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.004e-05/0.002201, allocations: 0 / 0.7768 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.002274, allocations: 30.59 kB / 0.7768 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002276, allocations: 0 / 0.7768 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002277, allocations: 0 / 0.7768 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002281, allocations: 0 / 0.7768 GB, free: 4.527 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.0001826/0.002463, allocations: 213.4 kB / 0.777 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.002499, allocations: 9.344 kB / 0.777 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.002677, allocations: 19.16 kB / 0.777 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.884e-05/0.002726, allocations: 101.8 kB / 0.7771 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00274, allocations: 4.375 kB / 0.7771 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-06/0.002745, allocations: 384 / 0.7771 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.271e-05/0.002827, allocations: 48.64 kB / 0.7772 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.002833, allocations: 192 / 0.7772 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.002839, allocations: 0.875 kB / 0.7772 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.002843, allocations: 384 / 0.7772 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.002856, allocations: 8.672 kB / 0.7772 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.144e-05/0.002918, allocations: 67.39 kB / 0.7773 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.002999, allocations: 19.45 kB / 0.7773 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.032e-05/0.003009, allocations: 8.953 kB / 0.7773 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.003025, allocations: 4.875 kB / 0.7773 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.003043, allocations: 30.56 kB / 0.7773 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003043, allocations: 0 / 0.7773 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.762e-05/0.003121, allocations: 36.39 kB / 0.7774 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.003143, allocations: 55.41 kB / 0.7774 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.278e-05/0.003166, allocations: 89.86 kB / 0.7775 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003174, allocations: 25.7 kB / 0.7775 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.003191, allocations: 80.14 kB / 0.7776 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.003216, allocations: 4.859 kB / 0.7776 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.003237, allocations: 16.38 kB / 0.7776 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.003304, allocations: 314.8 kB / 0.7779 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.003314, allocations: 0 / 0.7779 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.003321, allocations: 4 kB / 0.7779 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.003345, allocations: 4.859 kB / 0.7779 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003347, allocations: 1.688 kB / 0.7779 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.047e-05/0.003387, allocations: 41.62 kB / 0.778 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.003398, allocations: 4.656 kB / 0.778 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.003401, allocations: 0 / 0.778 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.003411, allocations: 0.875 kB / 0.778 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.003461, allocations: 4 kB / 0.778 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.003463, allocations: 1.062 kB / 0.778 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.003477, allocations: 8.328 kB / 0.778 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.003481, allocations: 0.7656 kB / 0.778 GB, free: 3.188 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.849e-05/0.003529, allocations: 119.5 kB / 0.7781 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.003533, allocations: 0 / 0.7781 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.003551, allocations: 3 kB / 0.7781 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003554, allocations: 1.188 kB / 0.7781 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.003554, allocations: 0 / 0.7781 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.003559, allocations: 7.938 kB / 0.7781 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-06/0.003565, allocations: 1.531 kB / 0.7781 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.003576, allocations: 11.91 kB / 0.7781 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-06/0.003585, allocations: 1.125 kB / 0.7781 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.095e-05/0.003646, allocations: 112.9 kB / 0.7782 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.025e-05/0.003716, allocations: 203.4 kB / 0.7784 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.671e-05/0.003733, allocations: 5.641 kB / 0.7784 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.879e-06/0.003738, allocations: 5.484 kB / 0.7784 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of Backend: time 2e-07/0.003738, allocations: 0 / 0.7784 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.003935, allocations: 75.36 kB / 0.7785 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0003651/0.0043, allocations: 0.5734 MB / 0.7791 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.001826/0.006126, allocations: 0.5201 MB / 0.7796 GB, free: 1.492 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.978614027611911]