Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.632/1.632, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 184.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 89.98 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 13.2 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.4552, allocations: 135.5 MB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4555, allocations: 91.94 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.4695, allocations: 5.52 MB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4695, allocations: 0 / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.835e-05/0.4696, allocations: 8 kB / 1.038 GB, free: 2.488 MB / 0.6823 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.0009821/0.4706, allocations: 0.5891 MB / 1.039 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4706, allocations: 12.03 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.4707, allocations: 58.53 kB / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.4708, allocations: 35.56 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.4712, allocations: 314.2 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.4713, allocations: 16.56 kB / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4713, allocations: 28 kB / 1.039 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.472, allocations: 313.3 kB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.472, allocations: 4 kB / 1.039 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.472, allocations: 12 kB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.472, allocations: 4 kB / 1.039 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.4727, allocations: 262.1 kB / 1.04 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.4743, allocations: 1.127 MB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.475, allocations: 278.8 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.475, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.4751, allocations: 38.55 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.4751, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.000891/0.476, allocations: 363.5 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4761, allocations: 81.11 kB / 1.041 GB, free: 14.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.4764, allocations: 262.5 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4764, allocations: 29.7 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4766, allocations: 176.2 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.4767, allocations: 59.11 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.4767, allocations: 4 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4768, allocations: 350.8 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4771, allocations: 88.33 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.4774, allocations: 133.6 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4776, allocations: 116.1 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4776, allocations: 0 / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005756/0.4782, allocations: 286.8 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.4783, allocations: 186 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4784, allocations: 0 / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4784, allocations: 7.953 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4786, allocations: 51.84 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4787, allocations: 4 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4789, allocations: 43.81 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4789, allocations: 11.94 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.4789, allocations: 4 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004308/0.4793, allocations: 211.2 kB / 1.043 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.4794, allocations: 0 / 1.043 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.4794, allocations: 0 / 1.043 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.4796, allocations: 43.97 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.4796, allocations: 3.984 kB / 1.043 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.4797, allocations: 39.77 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4798, allocations: 4 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.48, allocations: 229 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.48, allocations: 23.72 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.4807, allocations: 290 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4807, allocations: 4 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4807, allocations: 0 / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4807, allocations: 3.984 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4818, allocations: 0.7137 MB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4818, allocations: 0 / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.4821, allocations: 51.91 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4821, allocations: 0 / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4821, allocations: 8 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4821, allocations: 0 / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4821, allocations: 0 / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/0.483, allocations: 0.5189 MB / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.4831, allocations: 108.8 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.4832, allocations: 4 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.4834, allocations: 31.97 kB / 1.045 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.4834, allocations: 7.984 kB / 1.045 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.4834, allocations: 8 kB / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002292/0.4837, allocations: 214 kB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.4837, allocations: 0 / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004032/0.4841, allocations: 95.59 kB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.4854, allocations: 1.127 MB / 1.047 GB, free: 9.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007978/0.4862, allocations: 345.9 kB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4862, allocations: 0 / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.4865, allocations: 123.8 kB / 1.047 GB, free: 8.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4869, allocations: 50.66 kB / 1.047 GB, free: 8.578 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.4899, allocations: 1.862 MB / 1.049 GB, free: 6.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4903, allocations: 0.7716 MB / 1.05 GB, free: 5.852 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.4905, allocations: 38.22 kB / 1.05 GB, free: 5.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4907, allocations: 95.41 kB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/0.4907, allocations: 0 / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.5086, allocations: 5.266 MB / 1.055 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.5089, allocations: 208.9 kB / 1.055 GB, free: 432 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.696, allocations: 0 / 1.055 GB, free: 432 kB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)