Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RadiatorSupply,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007923, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002078/0.002078, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 62.72 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2082, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00299/0.2112, allocations: 2.215 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.2122, allocations: 0.5219 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2124, allocations: 11.94 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2126, allocations: 39.53 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2127, allocations: 43.55 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.213, allocations: 139.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.2134, allocations: 368.2 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.2136, allocations: 185.1 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2138, allocations: 135.4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.214, allocations: 131.3 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.214, allocations: 40 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.2141, allocations: 40 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.2142, allocations: 83.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2143, allocations: 151.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.2147, allocations: 478 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2147, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2147, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2147, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 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.0009152/0.2156, allocations: 0.608 MB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2157, allocations: 8.031 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.2157, allocations: 62.73 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.2158, allocations: 32.56 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.2162, allocations: 319.4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2163, allocations: 16.94 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.2163, allocations: 24.31 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.2168, allocations: 295.9 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2168, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2168, allocations: 12 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2169, allocations: 4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.2173, allocations: 206.1 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2186, allocations: 0.9818 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.219, allocations: 273.1 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.2193, allocations: 108.8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2193, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2193, allocations: 30.56 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2193, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006653/0.22, allocations: 267.8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2201, allocations: 51.41 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.2203, allocations: 270.7 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2203, allocations: 29.7 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.2204, allocations: 180 kB / 1.096 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2205, allocations: 55.25 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2205, allocations: 45.61 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.2206, allocations: 342.8 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2208, allocations: 72.81 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2211, allocations: 118.1 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.2215, allocations: 194 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2215, allocations: 4 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005123/0.222, allocations: 245.2 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2221, allocations: 8 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2221, allocations: 64 / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2221, allocations: 8 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2223, allocations: 48.03 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2223, allocations: 0 / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2225, allocations: 27.83 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2225, allocations: 7.984 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002477/0.2228, allocations: 176.1 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001884/0.223, allocations: 122.4 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003435/0.2233, allocations: 178.1 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.2233, allocations: 7.938 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004342/0.2238, allocations: 239.2 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.2238, allocations: 4 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/0.2238, allocations: 0 / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.2238, allocations: 4 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.224, allocations: 51.97 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.224, allocations: 4 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.2241, allocations: 27.77 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2242, allocations: 8 kB / 1.097 GB, free: 7.422 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.2243, allocations: 192.1 kB / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.2243, allocations: 27.72 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.2248, allocations: 221.4 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2249, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2249, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2249, allocations: 0 / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.2257, allocations: 0.6269 MB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2257, allocations: 4 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.2259, allocations: 35.97 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2259, allocations: 0 / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2259, allocations: 11.98 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2259, allocations: 3.938 kB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.226, allocations: 0 / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.2267, allocations: 393.2 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.2267, allocations: 100.9 kB / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2268, allocations: 0 / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.2269, allocations: 19.97 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.227, allocations: 23.91 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.227, allocations: 4 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001638/0.2272, allocations: 194 kB / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2272, allocations: 0 / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003739/0.2276, allocations: 87.62 kB / 1.099 GB, free: 5.402 MB / 0.8575 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 (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.000921/0.2285, allocations: 0.9246 MB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.2292, allocations: 280.1 kB / 1.1 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2292, allocations: 4.062 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2294, allocations: 87.89 kB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2298, allocations: 50.44 kB / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.2329, allocations: 2.583 MB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2332, allocations: 0.7597 MB / 1.104 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.2333, allocations: 29.94 kB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2334, allocations: 87.41 kB / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of SimCode: time 1.392e-06/0.2334, allocations: 0 / 1.104 GB, free: 468 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4947/0.7282, allocations: 4.924 MB / 1.109 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.5, allocations: 16.17 kB / 1.109 GB, free: 11.66 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)