Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 106.6 kB / 16.27 MB, free: 6.418 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.001715/0.001715, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.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.001454/0.001454, allocations: 71.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004249/0.24, allocations: 2.038 MB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2411, allocations: 439.9 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.2414, allocations: 4 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.2416, allocations: 39.59 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.2418, allocations: 39.61 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2422, allocations: 99.84 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.2426, allocations: 288.5 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.2429, allocations: 152.5 kB / 0.787 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2431, allocations: 103.5 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.2433, allocations: 103.5 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.2433, allocations: 40 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.2434, allocations: 32 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.2435, allocations: 67.78 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2436, allocations: 127.3 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4194/0.6631, allocations: 388.2 kB / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6631, allocations: 0 / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6631, allocations: 0 / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.6631, allocations: 0.5312 kB / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008893/0.664, allocations: 0.5516 MB / 0.7884 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6641, allocations: 8.812 kB / 0.7884 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.6642, allocations: 33.94 kB / 0.7884 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.6645, allocations: 286.3 kB / 0.7887 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6645, allocations: 16 kB / 0.7887 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.6645, allocations: 18.31 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.665, allocations: 241.9 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.665, allocations: 2.156 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.665, allocations: 6.625 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.665, allocations: 6.281 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.6654, allocations: 174.2 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.6663, allocations: 0.8551 MB / 0.79 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.6667, allocations: 182.3 kB / 0.7902 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.6669, allocations: 93.73 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.667, allocations: 1.219 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.667, allocations: 38.42 kB / 0.7903 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.667, allocations: 3.719 kB / 0.7903 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005655/0.6676, allocations: 230.5 kB / 0.7905 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6676, allocations: 79.73 kB / 0.7906 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.6678, allocations: 240.8 kB / 0.7908 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6679, allocations: 29.64 kB / 0.7909 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.6679, allocations: 159.2 kB / 0.791 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.668, allocations: 43.28 kB / 0.791 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.668, allocations: 33.94 kB / 0.7911 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.6681, allocations: 327.7 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6683, allocations: 80.44 kB / 0.7915 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.6684, allocations: 103 kB / 0.7916 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.6688, allocations: 165.9 kB / 0.7917 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6688, allocations: 2.625 kB / 0.7917 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004206/0.6692, allocations: 205.4 kB / 0.7919 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6692, allocations: 5.25 kB / 0.7919 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6692, allocations: 4.438 kB / 0.7919 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6693, allocations: 3.938 kB / 0.7919 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6694, allocations: 37.59 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6694, allocations: 2.656 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.6696, allocations: 33.25 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.6696, allocations: 2.688 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001675/0.6698, allocations: 155.6 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001317/0.6699, allocations: 103.5 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002212/0.6701, allocations: 135.8 kB / 0.7924 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.6701, allocations: 6.25 kB / 0.7924 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0002984/0.6704, allocations: 179.3 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.6705, allocations: 5.812 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.6705, allocations: 3.5 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-06/0.6705, allocations: 0 / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6706, allocations: 33.03 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.6706, allocations: 7.312 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.6707, allocations: 26.06 kB / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6707, allocations: 7.219 kB / 0.7926 GB, free: 44.35 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.814e-05/0.6708, allocations: 191.1 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.6709, allocations: 21.19 kB / 0.7928 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.6709, allocations: 15.59 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6709, allocations: 6.984 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6709, allocations: 3.469 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6709, allocations: 0 / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.6712, allocations: 311.5 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6712, allocations: 3.125 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.6713, allocations: 27.19 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6713, allocations: 3.828 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6714, allocations: 0 / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6714, allocations: 7.406 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6714, allocations: 1.875 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.6719, allocations: 345.8 kB / 0.7935 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.672, allocations: 104.4 kB / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.672, allocations: 6.625 kB / 0.7936 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.6721, allocations: 19.78 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.6722, allocations: 5.359 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.6722, allocations: 6.625 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001236/0.6723, allocations: 181.5 kB / 0.7938 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6723, allocations: 1.531 kB / 0.7939 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003229/0.6727, allocations: 63.91 kB / 0.7939 GB, free: 43.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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 9.671e-05/0.6728, allocations: 99.38 kB / 0.794 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.6733, allocations: 234.6 kB / 0.7942 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6733, allocations: 0 / 0.7942 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.6735, allocations: 69.62 kB / 0.7943 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.6739, allocations: 42.27 kB / 0.7943 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.6746, allocations: 421.3 kB / 0.7947 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.6748, allocations: 0.7486 MB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.6749, allocations: 17.72 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.6749, allocations: 3.5 kB / 0.7955 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.004443/0.6793, allocations: 2.644 MB / 0.7981 GB, free: 42.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)