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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 91.84 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.004711/0.004711, allocations: 170 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.173/1.173, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.571/1.571, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004667/0.0004667, allocations: 19.41 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001917/0.1867, allocations: 1.735 MB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.1873, allocations: 412 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1875, allocations: 4 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.1876, allocations: 27.73 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.973e-05/0.1877, allocations: 23.84 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1879, allocations: 95.83 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1881, allocations: 256.5 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1883, allocations: 148.5 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.1884, allocations: 67.53 kB / 0.7907 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.1885, allocations: 75.44 kB / 0.7908 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1885, allocations: 8 kB / 0.7908 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.1886, allocations: 4 kB / 0.7908 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.1886, allocations: 27.86 kB / 0.7908 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.1887, allocations: 117 kB / 0.7909 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.1889, allocations: 359 kB / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.189, allocations: 0 / 0.7912 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.189, allocations: 7.938 kB / 0.7913 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.189, allocations: 0 / 0.7913 GB, free: 8.109 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.000695/0.1897, allocations: 0.5224 MB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1897, allocations: 8.031 kB / 0.7918 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.1898, allocations: 58.72 kB / 0.7918 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1898, allocations: 24.66 kB / 0.7919 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1901, allocations: 285.1 kB / 0.7921 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1902, allocations: 20.81 kB / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1902, allocations: 20.38 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.1906, allocations: 250 kB / 0.7924 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1906, allocations: 3.938 kB / 0.7924 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1907, allocations: 8 kB / 0.7924 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1907, allocations: 4 kB / 0.7924 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1911, allocations: 193 kB / 0.7926 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.1921, allocations: 0.8561 MB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.1926, allocations: 198.7 kB / 0.7936 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1928, allocations: 100.8 kB / 0.7937 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1928, allocations: 4 kB / 0.7937 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1928, allocations: 34.56 kB / 0.7938 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1928, allocations: 4 kB / 0.7938 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0005999/0.1934, allocations: 257.4 kB / 0.794 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1935, allocations: 85.11 kB / 0.7941 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1937, allocations: 248.9 kB / 0.7943 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1937, allocations: 29.7 kB / 0.7944 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.1938, allocations: 160.1 kB / 0.7945 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1939, allocations: 47.3 kB / 0.7946 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1939, allocations: 17.72 kB / 0.7946 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.194, allocations: 334.8 kB / 0.7949 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1942, allocations: 75.95 kB / 0.795 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1944, allocations: 115.8 kB / 0.7951 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.1948, allocations: 179.3 kB / 0.7952 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1948, allocations: 3.938 kB / 0.7952 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004366/0.1952, allocations: 228.5 kB / 0.7955 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.1953, allocations: 123.5 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1953, allocations: 0 / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1953, allocations: 0 / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1955, allocations: 43.97 kB / 0.7956 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1955, allocations: 4 kB / 0.7956 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1956, allocations: 31.83 kB / 0.7957 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1956, allocations: 7.984 kB / 0.7957 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.1956, allocations: 4 kB / 0.7957 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002867/0.1959, allocations: 147.8 kB / 0.7958 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1959, allocations: 8.094 kB / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-06/0.196, allocations: 0 / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1961, allocations: 35.97 kB / 0.7959 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.1961, allocations: 7.875 kB / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1962, allocations: 31.83 kB / 0.7959 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1962, allocations: 4 kB / 0.7959 GB, free: 3.062 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.0001246/0.1963, allocations: 217.1 kB / 0.7961 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1964, allocations: 19.72 kB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1964, allocations: 21.7 kB / 0.7961 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1965, allocations: 7.938 kB / 0.7961 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1965, allocations: 0 / 0.7961 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1965, allocations: 3.984 kB / 0.7962 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1967, allocations: 305.5 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1967, allocations: 0 / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1969, allocations: 43.91 kB / 0.7965 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1969, allocations: 0 / 0.7965 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1969, allocations: 4 kB / 0.7965 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1969, allocations: 3.938 kB / 0.7965 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1969, allocations: 0 / 0.7965 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.1975, allocations: 383.1 kB / 0.7969 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1976, allocations: 92.89 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1976, allocations: 7.984 kB / 0.797 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1978, allocations: 23.92 kB / 0.797 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1978, allocations: 11.98 kB / 0.797 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1978, allocations: 0 / 0.797 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001438/0.198, allocations: 180.5 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.198, allocations: 8 kB / 0.7972 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003159/0.1983, allocations: 59.75 kB / 0.7972 GB, free: 1.602 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.0008094/0.1991, allocations: 0.9035 MB / 0.7981 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.1997, allocations: 251.9 kB / 0.7983 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1997, allocations: 0 / 0.7983 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1998, allocations: 79.89 kB / 0.7984 GB, free: 356 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2002, allocations: 40.61 kB / 0.7985 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.203, allocations: 2.464 MB / 0.8009 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2033, allocations: 0.7443 MB / 0.8016 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.267e-05/0.2033, allocations: 17.55 kB / 0.8016 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2035, allocations: 72.28 kB / 0.8017 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 1.91e-07/0.2035, allocations: 0 / 0.8017 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.651/2.855, allocations: 3.836 MB / 0.8054 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/2.855, allocations: 218.8 kB / 0.8056 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.338/6.193, allocations: 0 / 0.8056 GB, free: 8.965 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)