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.0007894/0.0007894, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005559/0.00556, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.338/1.338, allocations: 205.4 MB / 222.4 MB, free: 5.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.706/1.706, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005518/0.0005517, allocations: 21.12 kB / 0.6743 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2156, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00297/0.2187, allocations: 1.715 MB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2199, allocations: 427.9 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.2202, allocations: 0 / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.2204, allocations: 31.72 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2206, allocations: 27.8 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.2209, allocations: 83.94 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.2213, allocations: 260.5 kB / 0.7904 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.2216, allocations: 140.5 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2218, allocations: 67.53 kB / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2219, allocations: 75.44 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.2219, allocations: 8 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.222, allocations: 4 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.222, allocations: 31.84 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2221, allocations: 113 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.2225, allocations: 367 kB / 0.7911 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2225, allocations: 7.938 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2225, allocations: 0 / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.2225, allocations: 3.938 kB / 0.7911 GB, free: 8.188 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.0009518/0.2235, allocations: 0.5146 MB / 0.7916 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2235, allocations: 8.031 kB / 0.7916 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.2236, allocations: 28.66 kB / 0.7917 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.224, allocations: 281.2 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.224, allocations: 16.81 kB / 0.792 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.2241, allocations: 24.34 kB / 0.792 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.2246, allocations: 246.3 kB / 0.7922 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2246, allocations: 7.875 kB / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.2246, allocations: 8 kB / 0.7922 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2246, allocations: 4 kB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.2251, allocations: 189 kB / 0.7924 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2263, allocations: 0.8599 MB / 0.7933 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.2268, allocations: 198.7 kB / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.2271, allocations: 108.7 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2271, allocations: 8 kB / 0.7936 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2271, allocations: 38.56 kB / 0.7936 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.023e-06/0.2272, allocations: 3.938 kB / 0.7936 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0007156/0.2279, allocations: 257.4 kB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.228, allocations: 85.11 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2282, allocations: 240.9 kB / 0.7942 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2283, allocations: 37.69 kB / 0.7942 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2284, allocations: 152.2 kB / 0.7943 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.2284, allocations: 47.28 kB / 0.7944 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.2285, allocations: 17.72 kB / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2286, allocations: 334.8 kB / 0.7947 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2288, allocations: 75.95 kB / 0.7948 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2291, allocations: 117.1 kB / 0.7949 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2295, allocations: 178.1 kB / 0.7951 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2295, allocations: 4 kB / 0.7951 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004815/0.23, allocations: 225.3 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.2301, allocations: 115.6 kB / 0.7954 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2301, allocations: 7.984 kB / 0.7954 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2301, allocations: 3.938 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.2303, allocations: 39.98 kB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2303, allocations: 0 / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2305, allocations: 39.81 kB / 0.7955 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2305, allocations: 4 kB / 0.7955 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.2305, allocations: 4 kB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003195/0.2308, allocations: 151.9 kB / 0.7956 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2308, allocations: 4 kB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2308, allocations: 4 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.231, allocations: 31.92 kB / 0.7957 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.231, allocations: 7.984 kB / 0.7957 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2311, allocations: 27.83 kB / 0.7957 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2311, allocations: 4 kB / 0.7957 GB, free: 3.211 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.0001551/0.2313, allocations: 225.7 kB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.2313, allocations: 23.7 kB / 0.796 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.2314, allocations: 17.72 kB / 0.796 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2314, allocations: 0 / 0.796 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2314, allocations: 7.938 kB / 0.796 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2314, allocations: 3.984 kB / 0.796 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2317, allocations: 297.5 kB / 0.7963 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2317, allocations: 0 / 0.7963 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2319, allocations: 39.91 kB / 0.7963 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2319, allocations: 0 / 0.7963 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2319, allocations: 4 kB / 0.7963 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2319, allocations: 0 / 0.7963 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2319, allocations: 3.938 kB / 0.7963 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.2326, allocations: 387 kB / 0.7967 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.2327, allocations: 96.94 kB / 0.7968 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.2327, allocations: 4 kB / 0.7968 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2329, allocations: 15.98 kB / 0.7968 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2329, allocations: 15.92 kB / 0.7968 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2329, allocations: 8 kB / 0.7968 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001776/0.2331, allocations: 184.5 kB / 0.797 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2331, allocations: 0 / 0.797 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003634/0.2335, allocations: 67.69 kB / 0.7971 GB, free: 1.742 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.0001322/0.2336, allocations: 99.25 kB / 0.7971 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006027/0.2342, allocations: 255.1 kB / 0.7974 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2342, allocations: 0 / 0.7974 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2344, allocations: 84.27 kB / 0.7975 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2349, allocations: 28.42 kB / 0.7975 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.2356, allocations: 0.4892 MB / 0.798 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2359, allocations: 0.7443 MB / 0.7987 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.517e-05/0.236, allocations: 21.53 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.2361, allocations: 23.42 kB / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2361, allocations: 0 / 0.7987 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.004873/0.241, allocations: 1.858 MB / 0.8006 GB, free: 14.11 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: