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.456/1.456, allocations: 252 MB / 267 MB, free: 10.97 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.001051/0.001052, allocations: 182.3 kB / 326.6 MB, free: 2.215 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.799/1.799, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0007639/0.0007639, allocations: 90.36 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003181, allocations: 11.41 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001985/0.1993, allocations: 1.94 MB / 0.9022 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.2003, allocations: 0.7999 MB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.2005, allocations: 11.94 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2007, allocations: 35.66 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.274e-05/0.2008, allocations: 31.72 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.201, allocations: 87.84 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.2012, allocations: 332.3 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.2014, allocations: 119.7 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2015, allocations: 83.52 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.2016, allocations: 99.34 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2017, allocations: 8 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.33e-05/0.2017, allocations: 8 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2017, allocations: 39.78 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.2018, allocations: 77.52 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.202, allocations: 379.2 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.202, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.202, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.202, allocations: 0 / 0.9042 GB, free: 59.74 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.0008027/0.2028, allocations: 0.5883 MB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2029, allocations: 12.03 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.2029, allocations: 58.55 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.203, allocations: 35.58 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.2034, allocations: 322.8 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2034, allocations: 16.56 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2035, allocations: 31.88 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.2039, allocations: 305.4 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.204, allocations: 3.984 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.204, allocations: 16 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.204, allocations: 8 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.2045, allocations: 222.1 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.2057, allocations: 1.162 MB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.2062, allocations: 214.7 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.2064, allocations: 120.8 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.2064, allocations: 7.984 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2065, allocations: 34.56 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2065, allocations: 0 / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006709/0.2071, allocations: 295.2 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.2072, allocations: 55.41 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.2074, allocations: 294.9 kB / 0.9079 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2074, allocations: 33.7 kB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.2075, allocations: 180.1 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.2076, allocations: 55.2 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.2076, allocations: 4 kB / 0.9082 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.2076, allocations: 338.8 kB / 0.9085 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2078, allocations: 83.95 kB / 0.9086 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.2081, allocations: 123.3 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.2083, allocations: 98.34 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2083, allocations: 0 / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004671/0.2088, allocations: 261.1 kB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.2088, allocations: 119.7 kB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2088, allocations: 3.953 kB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2088, allocations: 0 / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2091, allocations: 51.91 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2091, allocations: 4 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2092, allocations: 27.83 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2093, allocations: 4 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-06/0.2093, allocations: 8 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003685/0.2096, allocations: 201.9 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-06/0.2097, allocations: 4.094 kB / 0.9094 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.2097, allocations: 4 kB / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2098, allocations: 47.91 kB / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.2099, allocations: 0 / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.21, allocations: 31.73 kB / 0.9095 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.21, allocations: 7.938 kB / 0.9095 GB, free: 54.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.2102, allocations: 237 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.2102, allocations: 23.72 kB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.2107, allocations: 247.8 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2107, allocations: 0 / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2107, allocations: 7.938 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2107, allocations: 0 / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.211, allocations: 357.2 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.211, allocations: 0 / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2112, allocations: 39.97 kB / 0.9104 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2112, allocations: 4 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2113, allocations: 4 kB / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2113, allocations: 0 / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2113, allocations: 0 / 0.9104 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.2119, allocations: 433.6 kB / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.212, allocations: 108.8 kB / 0.9109 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.212, allocations: 4 kB / 0.9109 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2122, allocations: 20.05 kB / 0.911 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.2123, allocations: 15.98 kB / 0.911 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2123, allocations: 7.984 kB / 0.911 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001509/0.2124, allocations: 202 kB / 0.9112 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2124, allocations: 0 / 0.9112 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003364/0.2128, allocations: 91.59 kB / 0.9113 GB, free: 52.18 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 (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.0008198/0.2136, allocations: 0.962 MB / 0.9122 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006433/0.2143, allocations: 306.2 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2143, allocations: 0 / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.2145, allocations: 100.1 kB / 0.9126 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2149, allocations: 48.56 kB / 0.9126 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2172, allocations: 1.602 MB / 0.9142 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2174, allocations: 0.7716 MB / 0.915 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.2176, allocations: 34.27 kB / 0.915 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2177, allocations: 91.41 kB / 0.9151 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2177, allocations: 0 / 0.9151 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.233, allocations: 5.024 MB / 0.92 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2332, allocations: 214 kB / 0.9202 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.221, allocations: 0 / 0.9202 GB, free: 43.11 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)