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.001697/0.001697, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 195.1 kB / 16.64 MB, free: 6.453 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.314/1.314, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.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.679/1.679, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001425/0.001426, allocations: 75.36 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2136, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003246/0.2169, allocations: 2.043 MB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.2177, allocations: 439.9 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2179, allocations: 4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.2181, allocations: 39.59 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.2182, allocations: 43.61 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2184, allocations: 91.86 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2188, allocations: 300.4 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2191, allocations: 144.5 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2192, allocations: 99.58 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2193, allocations: 115.5 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.2194, allocations: 36 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.2194, allocations: 32 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.2195, allocations: 67.72 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.2196, allocations: 123.3 kB / 0.7876 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2199, allocations: 406.7 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2199, allocations: 0 / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.22, allocations: 0 / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.22, allocations: 0 / 0.788 GB, free: 8.738 MB / 0.6075 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.0009115/0.2209, allocations: 0.5496 MB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2209, allocations: 12.03 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.221, allocations: 32.55 kB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.2214, allocations: 285.1 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2214, allocations: 16.81 kB / 0.7889 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.2215, allocations: 24.31 kB / 0.7889 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.2219, allocations: 234.3 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2219, allocations: 7.875 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.222, allocations: 8 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.222, allocations: 4 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.2225, allocations: 177 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2237, allocations: 0.8444 MB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.2242, allocations: 182.7 kB / 0.7903 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.2244, allocations: 88.81 kB / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2244, allocations: 4 kB / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2245, allocations: 34.56 kB / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2245, allocations: 0 / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006957/0.2252, allocations: 233.4 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.2252, allocations: 81.05 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2255, allocations: 245 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2255, allocations: 29.7 kB / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2256, allocations: 168.1 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2257, allocations: 39.39 kB / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.2257, allocations: 33.72 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2259, allocations: 330.8 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2261, allocations: 64.81 kB / 0.7916 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.2263, allocations: 117 kB / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.2267, allocations: 158.3 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2267, allocations: 0 / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004694/0.2272, allocations: 209.4 kB / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2272, allocations: 8 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2272, allocations: 96 / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2272, allocations: 7.938 kB / 0.7921 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2274, allocations: 39.91 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.2274, allocations: 0 / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2276, allocations: 31.83 kB / 0.7921 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2276, allocations: 7.984 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002813/0.2279, allocations: 156.1 kB / 0.7923 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001945/0.2281, allocations: 99.72 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002513/0.2283, allocations: 135.3 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2283, allocations: 4.031 kB / 0.7925 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003362/0.2287, allocations: 184.6 kB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.2287, allocations: 4 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.2287, allocations: 4 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/0.2287, allocations: 0 / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2289, allocations: 35.92 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.2289, allocations: 4 kB / 0.7927 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.229, allocations: 23.97 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.229, allocations: 4 kB / 0.7928 GB, free: 3.543 MB / 0.6075 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 0.0001016/0.2291, allocations: 196.1 kB / 0.7929 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.2292, allocations: 15.81 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.2292, allocations: 29.64 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2292, allocations: 0 / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2292, allocations: 0 / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2292, allocations: 0 / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.2296, allocations: 313.3 kB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2296, allocations: 0 / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2297, allocations: 31.98 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2297, allocations: 0 / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2298, allocations: 3.938 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2298, allocations: 3.938 kB / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2298, allocations: 0 / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.2305, allocations: 351.2 kB / 0.7937 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.2305, allocations: 104.8 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2306, allocations: 7.938 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2307, allocations: 11.98 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.2308, allocations: 7.984 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2308, allocations: 8.062 kB / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001791/0.231, allocations: 180.5 kB / 0.794 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.231, allocations: 0 / 0.794 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003561/0.2313, allocations: 67.69 kB / 0.794 GB, free: 2.145 MB / 0.6075 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 0.0001161/0.2315, allocations: 107.2 kB / 0.7941 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.232, allocations: 220.2 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.232, allocations: 0 / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2322, allocations: 71.95 kB / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.2326, allocations: 46.62 kB / 0.7945 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.2333, allocations: 401.3 kB / 0.7948 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.2336, allocations: 0.7402 MB / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.2337, allocations: 17.53 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.2338, allocations: 19.44 kB / 0.7956 GB, free: 496 kB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2338, allocations: 0 / 0.7956 GB, free: 496 kB / 0.6075 GB Notification: Performance of Templates: time 0.004928/0.2387, allocations: 2.019 MB / 0.7976 GB, free: 14.48 MB / 0.6231 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)