Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_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.0009234/0.0009235, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005057/0.005057, allocations: 170 kB / 16.27 MB, free: 6.652 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 443.3 MB / 0.7176 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 12.16 kB / 0.8797 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2367, allocations: 155.2 MB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002096/0.2388, allocations: 1.88 MB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.2396, allocations: 0.5023 MB / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2398, allocations: 4 kB / 1.034 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2399, allocations: 39.66 kB / 1.034 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.24, allocations: 27.8 kB / 1.034 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.2403, allocations: 123.9 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.2406, allocations: 328.2 kB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.2409, allocations: 181 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.241, allocations: 79.52 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2411, allocations: 107.3 kB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2412, allocations: 8 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.2412, allocations: 8 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.2412, allocations: 35.78 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/0.2413, allocations: 140.9 kB / 1.035 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2417, allocations: 430.6 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2417, allocations: 4 kB / 1.035 GB, free: 328 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2417, allocations: 0 / 1.035 GB, free: 328 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2417, allocations: 0 / 1.035 GB, free: 328 kB / 0.7794 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.0008275/0.2425, allocations: 0.5691 MB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2426, allocations: 8.031 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.2426, allocations: 58.73 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.2427, allocations: 32.56 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.2431, allocations: 311.5 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2431, allocations: 16.94 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.2432, allocations: 28.31 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.2437, allocations: 300 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2437, allocations: 0 / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2438, allocations: 8 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2438, allocations: 8 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.2443, allocations: 222.1 kB / 1.037 GB, free: 14.67 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2456, allocations: 0.9974 MB / 1.038 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.2461, allocations: 287.9 kB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2464, allocations: 104.8 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2464, allocations: 7.984 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2465, allocations: 34.56 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2465, allocations: 0 / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0007173/0.2472, allocations: 289.9 kB / 1.038 GB, free: 12.85 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2472, allocations: 51.41 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.2475, allocations: 270.7 kB / 1.039 GB, free: 12.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2475, allocations: 29.7 kB / 1.039 GB, free: 12.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2476, allocations: 180 kB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.2477, allocations: 47.27 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2477, allocations: 29.7 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2478, allocations: 334.8 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.2481, allocations: 83.95 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2483, allocations: 125.7 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.2488, allocations: 213.8 kB / 1.04 GB, free: 11.44 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2488, allocations: 3.938 kB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005439/0.2493, allocations: 261.2 kB / 1.04 GB, free: 11.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.2494, allocations: 125.9 kB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.2494, allocations: 0 / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.2494, allocations: 0 / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.2497, allocations: 55.89 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2497, allocations: 0 / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2499, allocations: 39.67 kB / 1.04 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2499, allocations: 8 kB / 1.04 GB, free: 10.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.2499, allocations: 4 kB / 1.04 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004305/0.2503, allocations: 207.8 kB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.2503, allocations: 0 / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.2503, allocations: 4 kB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2505, allocations: 47.97 kB / 1.04 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2506, allocations: 4 kB / 1.04 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2507, allocations: 35.8 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2507, allocations: 4 kB / 1.04 GB, free: 10.63 MB / 0.795 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 0.0001462/0.2509, allocations: 232.9 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.2509, allocations: 23.72 kB / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.2515, allocations: 231.7 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2515, allocations: 4 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2515, allocations: 0 / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2515, allocations: 0 / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.2524, allocations: 0.6479 MB / 1.041 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2524, allocations: 0 / 1.041 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2526, allocations: 39.97 kB / 1.041 GB, free: 9.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2526, allocations: 0 / 1.041 GB, free: 9.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2526, allocations: 8 kB / 1.041 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2526, allocations: 0 / 1.041 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2526, allocations: 0 / 1.041 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.2534, allocations: 416 kB / 1.042 GB, free: 8.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.2534, allocations: 100.9 kB / 1.042 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2535, allocations: 12.05 kB / 1.042 GB, free: 8.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2537, allocations: 15.98 kB / 1.042 GB, free: 8.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.2537, allocations: 15.98 kB / 1.042 GB, free: 8.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.2537, allocations: 7.984 kB / 1.042 GB, free: 8.797 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001703/0.2539, allocations: 194 kB / 1.042 GB, free: 8.605 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2539, allocations: 0 / 1.042 GB, free: 8.605 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000381/0.2543, allocations: 91.56 kB / 1.042 GB, free: 8.516 MB / 0.795 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.0009624/0.2553, allocations: 0.9498 MB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.256, allocations: 306.7 kB / 1.043 GB, free: 7.242 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.256, allocations: 4.5 kB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2562, allocations: 95.83 kB / 1.044 GB, free: 7.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2566, allocations: 36.55 kB / 1.044 GB, free: 7.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.26, allocations: 2.74 MB / 1.046 GB, free: 4.258 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2603, allocations: 0.7599 MB / 1.047 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.2604, allocations: 25.94 kB / 1.047 GB, free: 3.445 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2606, allocations: 87.41 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.2606, allocations: 0 / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/0.6862, allocations: 4.473 MB / 1.051 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.6864, allocations: 229.5 kB / 1.052 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.451, allocations: 8 kB / 1.052 GB, free: 14.81 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)