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.001428/0.001428, allocations: 109.4 kB / 15.69 MB, free: 128 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.001582/0.001582, allocations: 186.6 kB / 16.62 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.335/1.335, 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.624/1.624, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001396/0.001396, allocations: 69.95 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1931, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003492/0.1966, allocations: 2.043 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.1975, allocations: 439.9 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1976, allocations: 4 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1978, allocations: 35.59 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1979, allocations: 43.66 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1982, allocations: 99.86 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1985, allocations: 296.4 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.1988, allocations: 144.5 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1989, allocations: 107.5 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.199, allocations: 107.5 kB / 0.7869 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.1991, allocations: 36 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.1991, allocations: 40 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.1992, allocations: 59.84 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.1993, allocations: 127.3 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1996, allocations: 402.9 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1996, allocations: 0 / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1996, allocations: 3.938 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1996, allocations: 0 / 0.7875 GB, free: 9.285 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.0008603/0.2005, allocations: 0.5535 MB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2006, allocations: 8.031 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.2006, allocations: 58.73 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.2007, allocations: 28.56 kB / 0.7881 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.2011, allocations: 297.1 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2011, allocations: 12.81 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2012, allocations: 20.38 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.2016, allocations: 238 kB / 0.7887 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2016, allocations: 0 / 0.7887 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2017, allocations: 12 kB / 0.7887 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2017, allocations: 4 kB / 0.7887 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.2021, allocations: 173 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2031, allocations: 0.8444 MB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2036, allocations: 186.6 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2038, allocations: 88.81 kB / 0.7899 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2038, allocations: 4 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2039, allocations: 34.56 kB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.505e-06/0.2039, allocations: 4 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0005868/0.2045, allocations: 229.2 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2045, allocations: 77.33 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2048, allocations: 245 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2048, allocations: 33.64 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.2049, allocations: 164.1 kB / 0.7907 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.2049, allocations: 39.39 kB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.205, allocations: 37.7 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2051, allocations: 330.8 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2053, allocations: 72.73 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2055, allocations: 114 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.2058, allocations: 155.3 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2059, allocations: 0 / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004145/0.2063, allocations: 208.9 kB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2063, allocations: 6.656 kB / 0.7916 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2063, allocations: 7.938 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2063, allocations: 96 / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2065, allocations: 43.91 kB / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2065, allocations: 0 / 0.7917 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2066, allocations: 27.83 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2066, allocations: 8 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001875/0.2068, allocations: 152.1 kB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001422/0.207, allocations: 101 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002455/0.2072, allocations: 143.3 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.2072, allocations: 0 / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003137/0.2076, allocations: 181.4 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.2076, allocations: 4 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.2076, allocations: 4 kB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.2076, allocations: 3.938 kB / 0.7923 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2077, allocations: 27.98 kB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2077, allocations: 0 / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2078, allocations: 31.92 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2079, allocations: 4 kB / 0.7923 GB, free: 4.023 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 9.56e-05/0.208, allocations: 188.2 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.208, allocations: 23.8 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2081, allocations: 25.66 kB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2081, allocations: 0 / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2081, allocations: 0 / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2081, allocations: 3.984 kB / 0.7925 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.2084, allocations: 309.3 kB / 0.7928 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2084, allocations: 4 kB / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.2085, allocations: 31.97 kB / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2085, allocations: 0 / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2086, allocations: 7.938 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2086, allocations: 0 / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2086, allocations: 0 / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.2092, allocations: 351.5 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.2092, allocations: 104.8 kB / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.2093, allocations: 3.938 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2094, allocations: 15.98 kB / 0.7933 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.2094, allocations: 7.984 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.2095, allocations: 4 kB / 0.7934 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001529/0.2096, allocations: 180.5 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2096, allocations: 0 / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003256/0.2099, allocations: 67.69 kB / 0.7936 GB, free: 2.629 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.2108, allocations: 0.8878 MB / 0.7945 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.2113, allocations: 215.8 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2113, allocations: 448 / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2115, allocations: 75.91 kB / 0.7947 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2118, allocations: 43.19 kB / 0.7948 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2144, allocations: 2.323 MB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2147, allocations: 0.7401 MB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.11e-05/0.2148, allocations: 21.55 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.2149, allocations: 67.41 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2149, allocations: 7.938 kB / 0.7979 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.2337, allocations: 4.177 MB / 0.8019 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.514, allocations: 7.984 kB / 0.8019 GB, free: 10.05 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)