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.001169/0.001169, allocations: 101.9 kB / 16.29 MB, free: 6.371 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.001116/0.001116, allocations: 187.4 kB / 17.22 MB, free: 5.934 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.149/1.149, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.579/1.579, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001268/0.001268, allocations: 70.83 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.178, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002802/0.1808, allocations: 2.026 MB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.1815, allocations: 443.8 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.1816, allocations: 4 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1818, allocations: 43.53 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.1819, allocations: 39.66 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1821, allocations: 99.86 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1823, allocations: 288.4 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.1825, allocations: 148.5 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.1827, allocations: 111.5 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1828, allocations: 107.4 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.1828, allocations: 36 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.1828, allocations: 32 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1829, allocations: 63.83 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.183, allocations: 131.3 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.2867/0.4698, allocations: 401.1 kB / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4698, allocations: 0 / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4698, allocations: 0.6562 kB / 0.7879 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.4698, allocations: 0 / 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.0008596/0.4707, allocations: 0.5549 MB / 0.7885 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4707, allocations: 8.812 kB / 0.7885 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.4708, allocations: 30.53 kB / 0.7885 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.4711, allocations: 284.6 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4711, allocations: 16.28 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4712, allocations: 21.75 kB / 0.7888 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.4716, allocations: 231.1 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4716, allocations: 3.562 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4716, allocations: 11.59 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4716, allocations: 6.125 kB / 0.7891 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.472, allocations: 175.4 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.4729, allocations: 0.846 MB / 0.79 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.4733, allocations: 185.7 kB / 0.7902 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.4735, allocations: 90.97 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4735, allocations: 5.062 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.4735, allocations: 34.92 kB / 0.7903 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.4735, allocations: 2.625 kB / 0.7904 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0004966/0.474, allocations: 230 kB / 0.7906 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.4741, allocations: 81.58 kB / 0.7906 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4743, allocations: 240.8 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4743, allocations: 35.11 kB / 0.7909 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.4744, allocations: 160.2 kB / 0.7911 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.4744, allocations: 37.45 kB / 0.7911 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.4744, allocations: 33.78 kB / 0.7911 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.4745, allocations: 330.1 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.4746, allocations: 75.59 kB / 0.7915 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4748, allocations: 106.9 kB / 0.7916 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4751, allocations: 163 kB / 0.7918 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4751, allocations: 0 / 0.7918 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003374/0.4754, allocations: 204.5 kB / 0.792 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4754, allocations: 5.75 kB / 0.792 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4755, allocations: 0.5312 kB / 0.792 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4755, allocations: 6.562 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4756, allocations: 40.97 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4756, allocations: 2.625 kB / 0.792 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4758, allocations: 32.8 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4758, allocations: 3.859 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001522/0.4759, allocations: 159.5 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001152/0.4761, allocations: 99.5 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001973/0.4763, allocations: 142 kB / 0.7924 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.4763, allocations: 1.688 kB / 0.7924 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0002635/0.4765, allocations: 177.5 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.4765, allocations: 6.906 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.4766, allocations: 0 / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.4766, allocations: 4.891 kB / 0.7926 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4767, allocations: 38.62 kB / 0.7927 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.4767, allocations: 3.938 kB / 0.7927 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.4768, allocations: 25.44 kB / 0.7927 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.4768, allocations: 4.875 kB / 0.7927 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 6.46e-05/0.4769, allocations: 185 kB / 0.7929 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.4769, allocations: 24.69 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.477, allocations: 20.88 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.477, allocations: 7.406 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.477, allocations: 0 / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.477, allocations: 2.625 kB / 0.7929 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.4772, allocations: 308.3 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4772, allocations: 1.25 kB / 0.7932 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.4774, allocations: 31.94 kB / 0.7933 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4774, allocations: 3.938 kB / 0.7933 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4774, allocations: 3.406 kB / 0.7933 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4774, allocations: 3.938 kB / 0.7933 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4774, allocations: 0 / 0.7933 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.4779, allocations: 348.4 kB / 0.7936 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.4779, allocations: 102.6 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.478, allocations: 6.547 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4781, allocations: 21.41 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.4781, allocations: 7.266 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4781, allocations: 10.56 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001163/0.4783, allocations: 172.9 kB / 0.7939 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4783, allocations: 0 / 0.7939 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003122/0.4786, allocations: 61.12 kB / 0.794 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 8.488e-05/0.4787, allocations: 106.6 kB / 0.7941 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.4791, allocations: 223.3 kB / 0.7943 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4791, allocations: 0 / 0.7943 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.4793, allocations: 68.06 kB / 0.7943 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4797, allocations: 41.5 kB / 0.7944 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.4803, allocations: 395.2 kB / 0.7948 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4804, allocations: 0.7456 MB / 0.7955 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.4805, allocations: 21.48 kB / 0.7955 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.4805, allocations: 17.75 kB / 0.7955 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.4805, allocations: 5.5 kB / 0.7955 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.003968/0.4845, allocations: 2.008 MB / 0.7975 GB, free: 42.54 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)