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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.493/1.493, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 190.2 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.0009254, allocations: 95.5 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009802, allocations: 51.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1821, allocations: 114.6 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003312/0.1854, allocations: 2.091 MB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.1862, allocations: 415.9 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1864, allocations: 7.938 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.1865, allocations: 27.78 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1867, allocations: 27.73 kB / 0.9847 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1869, allocations: 95.89 kB / 0.9848 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1872, allocations: 264.5 kB / 0.9851 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1875, allocations: 148.5 kB / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1876, allocations: 79.59 kB / 0.9853 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1877, allocations: 95.41 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1877, allocations: 16 kB / 0.9854 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.121e-05/0.1878, allocations: 12 kB / 0.9854 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1878, allocations: 39.78 kB / 0.9854 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.1879, allocations: 107.3 kB / 0.9855 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1882, allocations: 375.1 kB / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1882, allocations: 0 / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1882, allocations: 0 / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.1882, allocations: 0 / 0.9859 GB, free: 6.57 MB / 0.7136 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.0008284/0.1891, allocations: 0.5535 MB / 0.9864 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1891, allocations: 12.03 kB / 0.9865 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.1892, allocations: 28.56 kB / 0.9865 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1895, allocations: 289.1 kB / 0.9868 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1895, allocations: 12.81 kB / 0.9868 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1896, allocations: 20.38 kB / 0.9868 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.19, allocations: 234.3 kB / 0.987 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.19, allocations: 7.938 kB / 0.987 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.19, allocations: 15.94 kB / 0.987 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.19, allocations: 4 kB / 0.987 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.1904, allocations: 173 kB / 0.9872 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1915, allocations: 0.8521 MB / 0.988 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.192, allocations: 186.7 kB / 0.9882 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1922, allocations: 88.81 kB / 0.9883 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1922, allocations: 4 kB / 0.9883 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1922, allocations: 34.56 kB / 0.9883 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1922, allocations: 0 / 0.9883 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0005697/0.1928, allocations: 225.8 kB / 0.9885 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1929, allocations: 81.11 kB / 0.9886 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1931, allocations: 245 kB / 0.9889 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1931, allocations: 29.7 kB / 0.9889 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1932, allocations: 160 kB / 0.989 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1933, allocations: 51.38 kB / 0.9891 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1933, allocations: 33.61 kB / 0.9891 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1934, allocations: 334.8 kB / 0.9894 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1936, allocations: 68.83 kB / 0.9895 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1938, allocations: 113.1 kB / 0.9896 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1941, allocations: 159.3 kB / 0.9898 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1942, allocations: 0 / 0.9898 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004117/0.1946, allocations: 201.4 kB / 0.99 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1946, allocations: 4 kB / 0.99 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1946, allocations: 8.094 kB / 0.99 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1946, allocations: 3.938 kB / 0.99 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1948, allocations: 43.91 kB / 0.99 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1948, allocations: 0 / 0.99 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1949, allocations: 23.83 kB / 0.99 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.195, allocations: 8 kB / 0.99 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002044/0.1952, allocations: 160 kB / 0.9902 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001483/0.1953, allocations: 101.1 kB / 0.9903 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002364/0.1956, allocations: 131.5 kB / 0.9904 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.1956, allocations: 4.031 kB / 0.9904 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003253/0.1959, allocations: 185.4 kB / 0.9906 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.1959, allocations: 10.28 kB / 0.9906 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1959, allocations: 0 / 0.9906 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.1959, allocations: 7.938 kB / 0.9906 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1961, allocations: 31.92 kB / 0.9907 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.1961, allocations: 0 / 0.9907 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1962, allocations: 27.98 kB / 0.9907 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1962, allocations: 4 kB / 0.9907 GB, free: 1.355 MB / 0.7136 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 9.277e-05/0.1963, allocations: 188.9 kB / 0.9909 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1964, allocations: 23.73 kB / 0.9909 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.1964, allocations: 25.66 kB / 0.9909 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1964, allocations: 4 kB / 0.9909 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1964, allocations: 0 / 0.9909 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1964, allocations: 3.984 kB / 0.9909 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.1967, allocations: 305.4 kB / 0.9912 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1967, allocations: 0 / 0.9912 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1969, allocations: 27.97 kB / 0.9912 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1969, allocations: 4 kB / 0.9912 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1969, allocations: 7.938 kB / 0.9912 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1969, allocations: 0 / 0.9912 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1969, allocations: 0 / 0.9912 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.1995, allocations: 1.967 MB / 0.9932 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1996, allocations: 96.88 kB / 0.9933 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1996, allocations: 8 kB / 0.9933 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1998, allocations: 11.98 kB / 0.9933 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1998, allocations: 11.98 kB / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1998, allocations: 0 / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001476/0.2, allocations: 180.5 kB / 0.9935 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2, allocations: 4.062 kB / 0.9935 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000485/0.2005, allocations: 91.59 kB / 0.9936 GB, free: 14.19 MB / 0.7292 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.516e-05/0.2006, allocations: 99.19 kB / 0.9936 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.2011, allocations: 224.1 kB / 0.9939 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2011, allocations: 4.062 kB / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.2013, allocations: 71.89 kB / 0.9939 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.2017, allocations: 36.42 kB / 0.994 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007693/0.2025, allocations: 0.6074 MB / 0.9946 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2027, allocations: 0.7443 MB / 0.9953 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.2028, allocations: 21.53 kB / 0.9953 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.2029, allocations: 19.44 kB / 0.9953 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.2029, allocations: 4 kB / 0.9953 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.004613/0.2075, allocations: 2.133 MB / 0.9974 GB, free: 10.19 MB / 0.7292 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)