Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001223/0.001223, allocations: 182 kB / 371.8 MB, free: 10.28 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.771/1.771, allocations: 205.4 MB / 0.6305 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 99.41 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001812/0.2001, allocations: 1.798 MB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.201, allocations: 499.8 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2012, allocations: 4 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2012, allocations: 23.72 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.2015, allocations: 51.8 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2017, allocations: 87.84 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2019, allocations: 196.6 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2021, allocations: 131.8 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2022, allocations: 79.56 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.2023, allocations: 95.41 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.2024, allocations: 8 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.2024, allocations: 8 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.2024, allocations: 43.77 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.2025, allocations: 73.58 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2027, allocations: 387.1 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2027, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2027, allocations: 4 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.2027, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008021/0.2036, allocations: 0.5767 MB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2036, allocations: 8.031 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.2037, allocations: 62.55 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.2037, allocations: 35.61 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.2041, allocations: 322 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2041, allocations: 24.48 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.2042, allocations: 27.91 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.2046, allocations: 287.7 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2047, allocations: 4 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2047, allocations: 8 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2047, allocations: 8 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.2052, allocations: 222.1 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2063, allocations: 0.9859 MB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.2068, allocations: 283.9 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2068, allocations: 7.984 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2068, allocations: 34.78 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.2069, allocations: 4 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006507/0.2075, allocations: 283.1 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2075, allocations: 55.41 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.2078, allocations: 286.9 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.2078, allocations: 25.7 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.2079, allocations: 184 kB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.2079, allocations: 59.19 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.2079, allocations: 4 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.208, allocations: 342.8 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2082, allocations: 75.95 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2084, allocations: 130.5 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.2086, allocations: 97.31 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2086, allocations: 0 / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004568/0.2091, allocations: 255.4 kB / 0.9874 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/0.2092, allocations: 452.9 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2092, allocations: 4 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2092, allocations: 0 / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2094, allocations: 47.95 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2094, allocations: 4 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2096, allocations: 35.73 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2096, allocations: 8 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.2096, allocations: 7.938 kB / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003563/0.21, allocations: 199.9 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.21, allocations: 0 / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.21, allocations: 4 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2101, allocations: 47.91 kB / 0.9882 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.2102, allocations: 0 / 0.9882 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2103, allocations: 35.81 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2103, allocations: 8 kB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2104, allocations: 225.1 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.2105, allocations: 23.72 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.2109, allocations: 233.2 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.211, allocations: 4 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.211, allocations: 4 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.211, allocations: 7.891 kB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.2117, allocations: 0.6426 MB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2118, allocations: 0 / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2119, allocations: 43.91 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2119, allocations: 4 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.212, allocations: 4 kB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.212, allocations: 7.953 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.212, allocations: 0 / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.2126, allocations: 408.5 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.2126, allocations: 104.8 kB / 0.9898 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2127, allocations: 4 kB / 0.9899 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2128, allocations: 27.98 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2129, allocations: 11.94 kB / 0.9899 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2129, allocations: 11.98 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001505/0.2131, allocations: 198 kB / 0.9901 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2131, allocations: 0 / 0.9901 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000376/0.2135, allocations: 87.59 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008233/0.2143, allocations: 0.9479 MB / 0.9911 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006155/0.2149, allocations: 310.5 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2149, allocations: 0.5 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2151, allocations: 94.08 kB / 0.9915 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2155, allocations: 32.88 kB / 0.9915 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.2177, allocations: 2.141 MB / 0.9936 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2179, allocations: 0.7677 MB / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.2181, allocations: 29.92 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2182, allocations: 95.34 kB / 0.9945 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2182, allocations: 0 / 0.9945 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2318, allocations: 4.665 MB / 0.999 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/0.2319, allocations: 203.9 kB / 0.9992 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.023, allocations: 6.953 kB / 0.9992 GB, free: 6.945 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)