Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0009728/0.0009728, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001131/0.001131, allocations: 172.2 kB / 25.18 MB, free: 8.879 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 0.9263/0.9263, allocations: 177.1 MB / 205.6 MB, free: 5.051 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.877/1.877, allocations: 389.6 MB / 0.6364 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7755 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.522e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001513/0.001529, allocations: 0.9433 MB / 0.7765 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002563, allocations: 0.9585 MB / 0.7774 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.002629, allocations: 0.5938 kB / 0.7774 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.002673, allocations: 21.52 kB / 0.7774 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.002771, allocations: 13.89 kB / 0.7774 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.002942, allocations: 44.59 kB / 0.7775 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.003059, allocations: 133 kB / 0.7776 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.003156, allocations: 43.11 kB / 0.7776 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.00332, allocations: 84.48 kB / 0.7777 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.003397, allocations: 43.88 kB / 0.7778 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.003417, allocations: 14.78 kB / 0.7778 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.003471, allocations: 12 kB / 0.7778 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.003493, allocations: 27.91 kB / 0.7778 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.003525, allocations: 31.92 kB / 0.7778 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003656, allocations: 91.64 kB / 0.7779 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003658, allocations: 3.938 kB / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003658, allocations: 0 / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003661, allocations: 0 / 0.7779 GB, free: 3.602 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003321/0.003994, allocations: 323.2 kB / 0.7782 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.004028, allocations: 13.34 kB / 0.7782 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.004156, allocations: 28.91 kB / 0.7783 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004277, allocations: 140.4 kB / 0.7784 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004289, allocations: 4.375 kB / 0.7784 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004302, allocations: 18.5 kB / 0.7784 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.004414, allocations: 97.55 kB / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.00442, allocations: 192 / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.00443, allocations: 7.938 kB / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.004436, allocations: 4 kB / 0.7785 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.004471, allocations: 16.67 kB / 0.7786 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.004755, allocations: 233.7 kB / 0.7788 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.004869, allocations: 50.53 kB / 0.7788 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.004892, allocations: 20.84 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.004903, allocations: 0.5938 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004921, allocations: 39.5 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.004923, allocations: 3.984 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001207/0.005044, allocations: 65.81 kB / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.005073, allocations: 55.94 kB / 0.779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.005141, allocations: 138 kB / 0.7791 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.005159, allocations: 33.7 kB / 0.7792 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.005203, allocations: 112.1 kB / 0.7793 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.005226, allocations: 24.64 kB / 0.7793 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.005257, allocations: 25.7 kB / 0.7793 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.005336, allocations: 323.3 kB / 0.7796 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.005351, allocations: 7.984 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.005369, allocations: 16.81 kB / 0.7797 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.005404, allocations: 20.84 kB / 0.7797 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005405, allocations: 0.5938 kB / 0.7797 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.408e-05/0.005469, allocations: 61.61 kB / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.005482, allocations: 4.719 kB / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.005487, allocations: 0 / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.005494, allocations: 0.5938 kB / 0.7797 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.005538, allocations: 17.42 kB / 0.7798 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.005542, allocations: 3.938 kB / 0.7798 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.005571, allocations: 11.94 kB / 0.7798 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.005576, allocations: 0.6562 kB / 0.7798 GB, free: 1.582 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.762e-05/0.005633, allocations: 110.4 kB / 0.7799 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.005651, allocations: 11.98 kB / 0.7799 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.005676, allocations: 14 kB / 0.7799 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005677, allocations: 3.938 kB / 0.7799 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.005679, allocations: 3.938 kB / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005683, allocations: 4.812 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.005778, allocations: 97.84 kB / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005778, allocations: 0.625 kB / 0.78 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.005805, allocations: 11.98 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.005806, allocations: 0.9375 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005811, allocations: 0 / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005811, allocations: 0.7188 kB / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005812, allocations: 0 / 0.78 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.696e-05/0.005899, allocations: 156.3 kB / 0.7802 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.005909, allocations: 7.953 kB / 0.7802 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.005928, allocations: 4 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.005966, allocations: 5.047 kB / 0.7802 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.006007, allocations: 23.91 kB / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.00601, allocations: 0.6875 kB / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.006036, allocations: 36.77 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006036, allocations: 0.9688 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000117/0.006153, allocations: 19.89 kB / 0.7803 GB, free: 1.039 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.485e-05/0.006217, allocations: 94.22 kB / 0.7804 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.006284, allocations: 28.84 kB / 0.7804 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.006289, allocations: 0 / 0.7804 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.006315, allocations: 25.88 kB / 0.7804 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.006447, allocations: 15.92 kB / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.006894, allocations: 248.9 kB / 0.7807 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.006951, allocations: 98.44 kB / 0.7808 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.00701, allocations: 63.36 kB / 0.7808 GB, free: 424 kB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.00701, allocations: 0 / 0.7808 GB, free: 424 kB / 0.7292 GB Notification: Performance of Templates: time 0.002056/0.009066, allocations: 1.336 MB / 0.7821 GB, free: 15.12 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.790406104177237]