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.001077/0.001077, allocations: 103.3 kB / 16.36 MB, free: 5.496 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.001028/0.001028, allocations: 197.6 kB / 17.3 MB, free: 5.141 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.708/1.708, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001438/0.001438, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1925, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003017/0.1956, allocations: 2.039 MB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.1963, allocations: 435.8 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1964, allocations: 4 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1966, allocations: 39.59 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.864e-05/0.1967, allocations: 43.61 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1969, allocations: 99.84 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1972, allocations: 292.4 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.1974, allocations: 148.5 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3062/0.5037, allocations: 103.4 kB / 0.7879 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.5039, allocations: 104.3 kB / 0.788 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.5039, allocations: 38.12 kB / 0.788 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.543e-05/0.504, allocations: 34.97 kB / 0.7881 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.504, allocations: 64.02 kB / 0.7881 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.5041, allocations: 127.4 kB / 0.7882 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.5044, allocations: 397.4 kB / 0.7886 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5045, allocations: 0.9375 kB / 0.7886 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5045, allocations: 0 / 0.7886 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5045, allocations: 2.688 kB / 0.7886 GB, free: 47.09 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.0007461/0.5052, allocations: 0.5502 MB / 0.7892 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5053, allocations: 15.5 kB / 0.7892 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.5053, allocations: 30.78 kB / 0.7892 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.5056, allocations: 288.7 kB / 0.7895 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5056, allocations: 15.94 kB / 0.7895 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.5057, allocations: 24.53 kB / 0.7895 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.5061, allocations: 233.8 kB / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5061, allocations: 1.406 kB / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5061, allocations: 8.625 kB / 0.7898 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5061, allocations: 6.906 kB / 0.7898 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.5065, allocations: 173.9 kB / 0.7899 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.5074, allocations: 0.8478 MB / 0.7908 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.5079, allocations: 181 kB / 0.7909 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.5081, allocations: 89.83 kB / 0.791 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.5081, allocations: 2.625 kB / 0.791 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.5081, allocations: 36.09 kB / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.5081, allocations: 3.844 kB / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005491/0.5087, allocations: 231 kB / 0.7913 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.5087, allocations: 80.27 kB / 0.7914 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5089, allocations: 246.1 kB / 0.7916 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.5089, allocations: 30.08 kB / 0.7916 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.509, allocations: 158.8 kB / 0.7918 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.509, allocations: 37.22 kB / 0.7918 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.5091, allocations: 36.47 kB / 0.7918 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.5091, allocations: 330.8 kB / 0.7922 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.5093, allocations: 74.19 kB / 0.7922 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.5095, allocations: 107.8 kB / 0.7923 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.5098, allocations: 165.1 kB / 0.7925 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5098, allocations: 0.8438 kB / 0.7925 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003851/0.5102, allocations: 203 kB / 0.7927 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5102, allocations: 7.125 kB / 0.7927 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5102, allocations: 2.625 kB / 0.7927 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5103, allocations: 6.562 kB / 0.7927 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.5104, allocations: 38.73 kB / 0.7927 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5104, allocations: 7.406 kB / 0.7927 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5106, allocations: 29.62 kB / 0.7928 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.5106, allocations: 9.844 kB / 0.7928 GB, free: 45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001841/0.5108, allocations: 154.8 kB / 0.7929 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001253/0.5109, allocations: 97.56 kB / 0.793 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002207/0.5111, allocations: 135.5 kB / 0.7931 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.5112, allocations: 3.562 kB / 0.7932 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.000293/0.5115, allocations: 176.7 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.5115, allocations: 11.16 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.5115, allocations: 0 / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.5115, allocations: 4.484 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5116, allocations: 33.28 kB / 0.7934 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.5116, allocations: 4.75 kB / 0.7934 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.5117, allocations: 26.5 kB / 0.7934 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5117, allocations: 6.438 kB / 0.7934 GB, free: 44.78 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 6.272e-05/0.5118, allocations: 190.2 kB / 0.7936 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.5119, allocations: 18.53 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.5119, allocations: 21.94 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5119, allocations: 6.328 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5119, allocations: 0 / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5119, allocations: 1.75 kB / 0.7936 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5122, allocations: 306.6 kB / 0.7939 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5122, allocations: 0 / 0.7939 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.5123, allocations: 37.11 kB / 0.794 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5123, allocations: 4.25 kB / 0.794 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5124, allocations: 3.75 kB / 0.794 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5124, allocations: 3.938 kB / 0.794 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5124, allocations: 0 / 0.794 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.5129, allocations: 349.3 kB / 0.7943 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.513, allocations: 106.9 kB / 0.7944 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.513, allocations: 0 / 0.7944 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5131, allocations: 16.97 kB / 0.7944 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5132, allocations: 7.078 kB / 0.7944 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.5132, allocations: 4.719 kB / 0.7944 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001298/0.5133, allocations: 183.7 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5133, allocations: 0 / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003425/0.5137, allocations: 59.53 kB / 0.7947 GB, free: 44.04 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 8.239e-05/0.5138, allocations: 106.2 kB / 0.7948 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.5143, allocations: 226.7 kB / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5143, allocations: 384 / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.5144, allocations: 74.12 kB / 0.7951 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.5149, allocations: 40.42 kB / 0.7951 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.5155, allocations: 393.8 kB / 0.7955 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5156, allocations: 0.7419 MB / 0.7962 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.5157, allocations: 22.2 kB / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.5158, allocations: 20.84 kB / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.5158, allocations: 3.406 kB / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.004613/0.5204, allocations: 2.01 MB / 0.7982 GB, free: 42.95 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)