Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 178.7 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007182/0.0007181, allocations: 78.42 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 13.28 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00236/0.1879, allocations: 2.032 MB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1893, allocations: 0.8268 MB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.1896, allocations: 4 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1898, allocations: 43.59 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.19, allocations: 35.72 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1903, allocations: 131.8 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1907, allocations: 360.1 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1909, allocations: 168.5 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1911, allocations: 83.45 kB / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1912, allocations: 103.3 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.1912, allocations: 8 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.1913, allocations: 8 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.1913, allocations: 43.66 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.1914, allocations: 140.9 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1917, allocations: 450.6 kB / 0.9052 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1917, allocations: 0 / 0.9052 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1917, allocations: 0 / 0.9052 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1917, allocations: 0 / 0.9052 GB, free: 58.92 MB / 0.6042 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.0008136/0.1925, allocations: 0.5807 MB / 0.9058 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1926, allocations: 12.03 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.1927, allocations: 58.73 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.1927, allocations: 32.56 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1931, allocations: 340.1 kB / 0.9062 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1931, allocations: 20.92 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1932, allocations: 28.36 kB / 0.9063 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.1937, allocations: 309.3 kB / 0.9066 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1937, allocations: 0 / 0.9066 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1937, allocations: 8 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1937, allocations: 8 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.1942, allocations: 234 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1955, allocations: 1.158 MB / 0.9079 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1959, allocations: 226.7 kB / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1962, allocations: 120.8 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1962, allocations: 3.984 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1962, allocations: 38.56 kB / 0.9083 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.1962, allocations: 0 / 0.9083 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006764/0.1969, allocations: 297.1 kB / 0.9086 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.1969, allocations: 55.41 kB / 0.9086 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1972, allocations: 290.9 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1972, allocations: 33.7 kB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.1973, allocations: 180.2 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1973, allocations: 55.11 kB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.1973, allocations: 4 kB / 0.9092 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.1974, allocations: 338.8 kB / 0.9095 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1976, allocations: 87.94 kB / 0.9096 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1978, allocations: 123.3 kB / 0.9097 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.1982, allocations: 213.5 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1982, allocations: 0 / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000476/0.1987, allocations: 263.5 kB / 0.9102 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.1987, allocations: 111.6 kB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1987, allocations: 4.062 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1988, allocations: 4 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.199, allocations: 43.97 kB / 0.9103 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.199, allocations: 3.938 kB / 0.9103 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1991, allocations: 35.67 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1992, allocations: 11.98 kB / 0.9104 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.1992, allocations: 4 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003663/0.1996, allocations: 203.8 kB / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.1996, allocations: 0 / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.1996, allocations: 8.094 kB / 0.9106 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1998, allocations: 47.91 kB / 0.9106 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1998, allocations: 7.938 kB / 0.9106 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1999, allocations: 27.77 kB / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1999, allocations: 8 kB / 0.9107 GB, free: 53.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.2, allocations: 229 kB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.2001, allocations: 27.72 kB / 0.9109 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.2006, allocations: 249.9 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2006, allocations: 0 / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2006, allocations: 0 / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2006, allocations: 4 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.2009, allocations: 349.3 kB / 0.9115 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2009, allocations: 4 kB / 0.9115 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.2011, allocations: 35.92 kB / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2011, allocations: 7.984 kB / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2012, allocations: 4 kB / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2012, allocations: 4 kB / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2012, allocations: 0 / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.2018, allocations: 431 kB / 0.9119 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2019, allocations: 104.7 kB / 0.912 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.2019, allocations: 12 kB / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2021, allocations: 24.05 kB / 0.9121 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2021, allocations: 7.984 kB / 0.9121 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2022, allocations: 4 kB / 0.9121 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000159/0.2023, allocations: 213.9 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2023, allocations: 0 / 0.9123 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003503/0.2027, allocations: 83.69 kB / 0.9124 GB, free: 51.21 MB / 0.6042 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 (18): * Single equations (assignments): 18 * 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.0008028/0.2035, allocations: 0.9684 MB / 0.9133 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006204/0.2041, allocations: 313.7 kB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2041, allocations: 0 / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.2044, allocations: 100.1 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2048, allocations: 49.61 kB / 0.9138 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.2079, allocations: 2.861 MB / 0.9166 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.208, allocations: 0.7635 MB / 0.9173 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.2082, allocations: 30.27 kB / 0.9173 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2083, allocations: 99.34 kB / 0.9174 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2083, allocations: 4 kB / 0.9174 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.2223, allocations: 4.89 MB / 0.9222 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.2225, allocations: 227.8 kB / 0.9224 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.163, allocations: 64 / 0.9224 GB, free: 40.95 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)