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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001367/0.001367, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.568/2.568, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 70.47 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.232, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003054/0.2351, allocations: 2.248 MB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.2359, allocations: 0.5102 MB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.2361, allocations: 4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.2362, allocations: 39.66 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.2364, allocations: 27.78 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.2366, allocations: 123.9 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.2369, allocations: 336.2 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2372, allocations: 177 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2373, allocations: 99.45 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2374, allocations: 123.3 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.2375, allocations: 20 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.461e-05/0.2375, allocations: 16 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.2376, allocations: 55.75 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2377, allocations: 135.1 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.238, allocations: 434.9 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.238, allocations: 3.938 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.238, allocations: 0 / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.238, allocations: 0 / 1.056 GB, free: 3.855 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.0008774/0.2389, allocations: 0.6081 MB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.239, allocations: 8.031 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.239, allocations: 58.72 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.2391, allocations: 40.47 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.2395, allocations: 315.4 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2395, allocations: 16.94 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.2396, allocations: 36.36 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.2401, allocations: 280 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2401, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2401, allocations: 12 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2401, allocations: 4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.2407, allocations: 214.1 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.242, allocations: 0.978 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.2424, allocations: 275.1 kB / 1.059 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2427, allocations: 108.8 kB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2427, allocations: 0 / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2427, allocations: 34.56 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.2427, allocations: 0 / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0006825/0.2434, allocations: 261.2 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2435, allocations: 55.41 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2437, allocations: 266.7 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2438, allocations: 37.62 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2439, allocations: 184 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2439, allocations: 55.27 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.244, allocations: 41.7 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2441, allocations: 338.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.2443, allocations: 76.81 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.2446, allocations: 129 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.245, allocations: 185.2 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.245, allocations: 3.938 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005265/0.2455, allocations: 246.7 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2456, allocations: 4 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2456, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2456, allocations: 8.188 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2458, allocations: 55.89 kB / 1.061 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2458, allocations: 4 kB / 1.061 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.246, allocations: 23.77 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.246, allocations: 12 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002485/0.2463, allocations: 176.1 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001855/0.2465, allocations: 120.1 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003427/0.2468, allocations: 181.4 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.2468, allocations: 3.938 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004546/0.2473, allocations: 235 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.2473, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2473, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/0.2473, allocations: 128 / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2475, allocations: 47.91 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2475, allocations: 4 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2477, allocations: 23.83 kB / 1.062 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2477, allocations: 4 kB / 1.062 GB, free: 13.83 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 9.19e-05/0.2478, allocations: 196.1 kB / 1.062 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.2478, allocations: 23.72 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.2483, allocations: 225 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2484, allocations: 4 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2484, allocations: 0 / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2484, allocations: 0 / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.2492, allocations: 0.6288 MB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2492, allocations: 0 / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2494, allocations: 39.91 kB / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2495, allocations: 0 / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2495, allocations: 4 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2495, allocations: 0 / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2495, allocations: 4 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.2502, allocations: 394.9 kB / 1.063 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.2502, allocations: 96.86 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2503, allocations: 15.92 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2505, allocations: 11.98 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2505, allocations: 15.92 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2505, allocations: 8.062 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001723/0.2507, allocations: 194 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2507, allocations: 4 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003863/0.2511, allocations: 79.69 kB / 1.064 GB, free: 11.81 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.0009542/0.2521, allocations: 0.9245 MB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000653/0.2527, allocations: 290.3 kB / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2527, allocations: 0 / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.253, allocations: 83.89 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.2534, allocations: 40.31 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.2567, allocations: 2.69 MB / 1.068 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.257, allocations: 0.7599 MB / 1.069 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.2571, allocations: 29.92 kB / 1.069 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2572, allocations: 91.41 kB / 1.069 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2572, allocations: 0 / 1.069 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/0.5904, allocations: 4.559 MB / 1.073 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.5907, allocations: 232.6 kB / 1.073 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.322, allocations: 4.062 kB / 1.073 GB, free: 2.098 MB / 0.8262 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)