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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001325/0.001325, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.09 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3192, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004176/0.3234, allocations: 2.203 MB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3247, allocations: 0.5336 MB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.3251, allocations: 7.938 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.3253, allocations: 47.53 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.3256, allocations: 51.52 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.326, allocations: 131.8 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.3265, allocations: 368.2 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.3269, allocations: 177.1 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.3271, allocations: 127.5 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3273, allocations: 139.2 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.054e-05/0.3274, allocations: 40 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.3275, allocations: 44 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.3275, allocations: 79.77 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3277, allocations: 155.1 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.3282, allocations: 458.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3282, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3282, allocations: 3.938 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.3282, allocations: 4 kB / 1.057 GB, free: 3.695 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.001202/0.3294, allocations: 0.602 MB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3295, allocations: 8.625 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.3296, allocations: 62.72 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.3297, allocations: 36.47 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.3302, allocations: 323.4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3302, allocations: 16.94 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.3303, allocations: 20.38 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.3309, allocations: 288 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3309, allocations: 0 / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.3309, allocations: 12 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.331, allocations: 8 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/0.3315, allocations: 210.1 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.3331, allocations: 0.9857 MB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.3337, allocations: 268 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.3339, allocations: 112.7 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.334, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.334, allocations: 38.56 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.334, allocations: 0 / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0007443/0.3348, allocations: 255.1 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.3348, allocations: 55.41 kB / 1.061 GB, free: 212 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3352, allocations: 274.7 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3352, allocations: 29.7 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3353, allocations: 184 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.3354, allocations: 55.25 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.3355, allocations: 41.7 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3356, allocations: 338.8 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3359, allocations: 80.75 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3361, allocations: 115.1 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3365, allocations: 193.9 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3365, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005512/0.3371, allocations: 257.1 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3371, allocations: 9.094 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3371, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3372, allocations: 4 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3374, allocations: 39.97 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3374, allocations: 7.938 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3376, allocations: 27.77 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3376, allocations: 11.97 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002668/0.3379, allocations: 181.7 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001911/0.3381, allocations: 117.1 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/0.3384, allocations: 178.1 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.3385, allocations: 3.938 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004775/0.3389, allocations: 243.1 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.339, allocations: 4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-06/0.339, allocations: 0 / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.339, allocations: 4 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3392, allocations: 43.97 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3392, allocations: 7.938 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3393, allocations: 23.83 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3393, allocations: 4 kB / 1.063 GB, free: 13.66 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.0001236/0.3395, allocations: 196.2 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.3395, allocations: 27.7 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3401, allocations: 220.8 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3401, allocations: 4 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3401, allocations: 4 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3401, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.3411, allocations: 0.6246 MB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3411, allocations: 3.984 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3413, allocations: 31.92 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3413, allocations: 4 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3413, allocations: 7.984 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3413, allocations: 0 / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3413, allocations: 7.938 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.342, allocations: 397 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.3421, allocations: 96.86 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3422, allocations: 12.06 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3424, allocations: 15.91 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3424, allocations: 19.92 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3424, allocations: 4 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000186/0.3426, allocations: 190 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.51e-07/0.3426, allocations: 0 / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000416/0.3431, allocations: 87.67 kB / 1.065 GB, free: 11.64 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.001133/0.3442, allocations: 0.9229 MB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000751/0.345, allocations: 293 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.345, allocations: 0 / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.3452, allocations: 83.89 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.3457, allocations: 44.98 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.3492, allocations: 2.598 MB / 1.069 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3495, allocations: 0.7558 MB / 1.069 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.3497, allocations: 29.94 kB / 1.069 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3498, allocations: 83.41 kB / 1.069 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3498, allocations: 0 / 1.069 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.3743, allocations: 4.853 MB / 1.074 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.698, allocations: 10.56 kB / 1.074 GB, free: 1.973 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)