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.0009184/0.0009185, allocations: 98.11 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.005303/0.005303, allocations: 169.2 kB / 16.26 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 17.05 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2383, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002297/0.2406, allocations: 1.878 MB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.2416, allocations: 0.5063 MB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.2418, allocations: 8 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.242, allocations: 35.66 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2421, allocations: 27.8 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2424, allocations: 115.9 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2427, allocations: 332.2 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.243, allocations: 177 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.2431, allocations: 83.52 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2432, allocations: 103.3 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.2433, allocations: 8 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.2433, allocations: 8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.2433, allocations: 35.78 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.2434, allocations: 136.9 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2438, allocations: 426.7 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2438, allocations: 4 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2438, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2438, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 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.0008553/0.2447, allocations: 0.5731 MB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2447, allocations: 8.031 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.2448, allocations: 54.73 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.2448, allocations: 36.56 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.2452, allocations: 315.6 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2453, allocations: 24.88 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.2453, allocations: 24.38 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.2458, allocations: 291.9 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2459, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2459, allocations: 12 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2459, allocations: 12 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.2464, allocations: 222.1 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2478, allocations: 0.9975 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.2483, allocations: 279.9 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.2486, allocations: 115.8 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2486, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2486, allocations: 38.56 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.2486, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007346/0.2494, allocations: 283.5 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2494, allocations: 55.41 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2497, allocations: 270.7 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2497, allocations: 25.7 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2498, allocations: 184 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.2499, allocations: 51.27 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2499, allocations: 29.7 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.25, allocations: 334.8 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2502, allocations: 79.95 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2505, allocations: 127.3 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.2509, allocations: 205.5 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.251, allocations: 8 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005483/0.2515, allocations: 258.5 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.2516, allocations: 114.5 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2516, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2516, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2519, allocations: 59.92 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2519, allocations: 7.984 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.252, allocations: 43.55 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2521, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.2521, allocations: 4 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004507/0.2525, allocations: 201.1 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2526, allocations: 4 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-06/0.2526, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2528, allocations: 56.03 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2528, allocations: 4 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2529, allocations: 27.83 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2529, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 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.0001436/0.2531, allocations: 225 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.2531, allocations: 23.72 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.2537, allocations: 235.7 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2537, allocations: 11.94 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2537, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2537, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.2546, allocations: 0.6439 MB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2546, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2548, allocations: 44.02 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2549, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2549, allocations: 8 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2549, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2549, allocations: 3.938 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.2556, allocations: 417 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.2557, allocations: 100.9 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2557, allocations: 3.984 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.2559, allocations: 19.98 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.256, allocations: 7.984 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.256, allocations: 8.062 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001747/0.2562, allocations: 202 kB / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2562, allocations: 0 / 1.07 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003951/0.2566, allocations: 91.56 kB / 1.07 GB, free: 9.195 MB / 0.8262 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.001/0.2576, allocations: 0.9424 MB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006964/0.2583, allocations: 311.1 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2583, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.2585, allocations: 91.89 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.2589, allocations: 40.67 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.2623, allocations: 2.734 MB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2626, allocations: 0.756 MB / 1.075 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.2627, allocations: 29.94 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2629, allocations: 83.41 kB / 1.075 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2629, allocations: 0 / 1.075 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.169/2.432, allocations: 4.483 MB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/2.433, allocations: 223.5 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/4.334, allocations: 0 / 1.079 GB, free: 15.52 MB / 0.8419 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)