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.001524/0.001524, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001548/0.001548, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.742/1.742, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.787/1.787, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001596/0.001596, allocations: 71.59 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2482, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00399/0.2523, allocations: 2.031 MB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2533, allocations: 439.8 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.2536, allocations: 4 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.2538, allocations: 43.59 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.254, allocations: 35.61 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.2543, allocations: 107.8 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.2547, allocations: 288.4 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2549, allocations: 144.5 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3988/0.6537, allocations: 105.7 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.654, allocations: 111.7 kB / 0.788 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.414e-05/0.6541, allocations: 34.84 kB / 0.788 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.6542, allocations: 35.53 kB / 0.7881 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.6543, allocations: 59.28 kB / 0.7881 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.6544, allocations: 126.6 kB / 0.7882 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.6548, allocations: 405.7 kB / 0.7886 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6548, allocations: 2.391 kB / 0.7886 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6548, allocations: 0 / 0.7886 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.6548, allocations: 0.8438 kB / 0.7886 GB, free: 46.74 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.0009339/0.6558, allocations: 0.5535 MB / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6558, allocations: 12.17 kB / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.6559, allocations: 29.62 kB / 0.7892 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.6563, allocations: 283.3 kB / 0.7895 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.6563, allocations: 16.56 kB / 0.7895 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.6564, allocations: 17.38 kB / 0.7895 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.6568, allocations: 238.1 kB / 0.7897 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6569, allocations: 0 / 0.7897 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.6569, allocations: 12.5 kB / 0.7898 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6569, allocations: 7.406 kB / 0.7898 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.6573, allocations: 169.3 kB / 0.7899 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6584, allocations: 0.8531 MB / 0.7908 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.6589, allocations: 182.9 kB / 0.7909 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.6591, allocations: 93.97 kB / 0.791 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.6591, allocations: 3.047 kB / 0.791 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.6592, allocations: 33.31 kB / 0.7911 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.6592, allocations: 0.5938 kB / 0.7911 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006168/0.6598, allocations: 230.4 kB / 0.7913 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.6599, allocations: 85.75 kB / 0.7914 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.6601, allocations: 243.2 kB / 0.7916 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.6601, allocations: 28.33 kB / 0.7916 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.6602, allocations: 160.7 kB / 0.7918 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.6602, allocations: 36.22 kB / 0.7918 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.6603, allocations: 36.52 kB / 0.7918 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.6604, allocations: 332.6 kB / 0.7922 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.6606, allocations: 80.41 kB / 0.7922 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.6608, allocations: 103.8 kB / 0.7923 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.6611, allocations: 164.5 kB / 0.7925 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6611, allocations: 0 / 0.7925 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004375/0.6616, allocations: 207.8 kB / 0.7927 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6616, allocations: 8.75 kB / 0.7927 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6616, allocations: 1.781 kB / 0.7927 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6616, allocations: 6.75 kB / 0.7927 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6618, allocations: 41.45 kB / 0.7927 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6618, allocations: 0 / 0.7927 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.662, allocations: 29.75 kB / 0.7928 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.662, allocations: 4.25 kB / 0.7928 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001789/0.6622, allocations: 156.9 kB / 0.7929 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001365/0.6623, allocations: 100.6 kB / 0.793 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002321/0.6626, allocations: 142.2 kB / 0.7932 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.6626, allocations: 0 / 0.7932 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003279/0.6629, allocations: 180.4 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.6629, allocations: 6.438 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.6629, allocations: 0 / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.6629, allocations: 3.438 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.6631, allocations: 31.34 kB / 0.7934 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.6631, allocations: 6.609 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.6632, allocations: 26.7 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6632, allocations: 7.25 kB / 0.7934 GB, free: 44.45 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 8.31e-05/0.6633, allocations: 189.5 kB / 0.7936 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.6634, allocations: 15.56 kB / 0.7936 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.6634, allocations: 30.22 kB / 0.7936 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6634, allocations: 3.938 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6634, allocations: 0 / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.6634, allocations: 0 / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.6637, allocations: 305.3 kB / 0.7939 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.6637, allocations: 0 / 0.7939 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.6639, allocations: 30.45 kB / 0.794 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.6639, allocations: 0 / 0.794 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.6639, allocations: 7.328 kB / 0.794 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6639, allocations: 7.875 kB / 0.794 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6639, allocations: 2 kB / 0.794 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.6645, allocations: 347 kB / 0.7943 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.6646, allocations: 102.7 kB / 0.7944 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.6646, allocations: 5.844 kB / 0.7944 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.6648, allocations: 20.11 kB / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.6648, allocations: 6.781 kB / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.6648, allocations: 10.97 kB / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000144/0.665, allocations: 173.4 kB / 0.7946 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.665, allocations: 0 / 0.7946 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003657/0.6654, allocations: 63.25 kB / 0.7947 GB, free: 43.71 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 0.0001127/0.6655, allocations: 104.7 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005633/0.666, allocations: 227.1 kB / 0.795 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6661, allocations: 0 / 0.795 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.6662, allocations: 70.92 kB / 0.7951 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.6666, allocations: 36.58 kB / 0.7951 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.6674, allocations: 422.7 kB / 0.7955 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.6675, allocations: 0.7423 MB / 0.7962 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.6676, allocations: 27.84 kB / 0.7962 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6676, allocations: 0 / 0.7962 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.005355/0.673, allocations: 2.646 MB / 0.7988 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)