Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.432/2.432, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001531, allocations: 180.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 87.06 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.371e-05/2.388e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8407, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/1.084, allocations: 139.5 MB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/1.084, allocations: 92.11 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01833/1.103, allocations: 4.51 MB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/1.103, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.102e-05/1.103, allocations: 8 kB / 1.104 GB, free: 12.41 MB / 0.7136 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.001177/1.104, allocations: 0.541 MB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.104, allocations: 12.02 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/1.104, allocations: 36.48 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/1.105, allocations: 293.6 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/1.105, allocations: 8 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/1.105, allocations: 16 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005261/1.106, allocations: 169 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/1.106, allocations: 230.6 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.106, allocations: 2.156 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/1.106, allocations: 0 / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/1.106, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/1.108, allocations: 0.8917 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/1.109, allocations: 272 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/1.109, allocations: 88.84 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/1.109, allocations: 4 kB / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/1.11, allocations: 139.2 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.835e-06/1.11, allocations: 0 / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0005422/1.11, allocations: 169.7 kB / 1.107 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/1.11, allocations: 110.8 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.111, allocations: 208.5 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/1.111, allocations: 25.7 kB / 1.107 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/1.111, allocations: 180.1 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/1.111, allocations: 63.09 kB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/1.111, allocations: 0 / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.111, allocations: 334.8 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.111, allocations: 52.38 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.112, allocations: 96.86 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/1.112, allocations: 67.91 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.112, allocations: 0 / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005282/1.112, allocations: 184.1 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.113, allocations: 186 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.113, allocations: 3.953 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.113, allocations: 0 / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/1.113, allocations: 59.88 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.113, allocations: 0 / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/1.114, allocations: 35.83 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/1.114, allocations: 15.98 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/1.114, allocations: 0.9375 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003659/1.114, allocations: 127.9 kB / 1.109 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.114, allocations: 3.984 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/1.114, allocations: 0 / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.114, allocations: 45.23 kB / 1.109 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/1.114, allocations: 0 / 1.109 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/1.115, allocations: 23.97 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/1.115, allocations: 8 kB / 1.109 GB, free: 7.508 MB / 0.7136 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001349/1.115, allocations: 116.6 kB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004226/1.115, allocations: 182 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/1.115, allocations: 27.67 kB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/1.116, allocations: 191.7 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.116, allocations: 4 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.116, allocations: 224 / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.116, allocations: 0 / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/1.117, allocations: 0.5954 MB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.117, allocations: 0 / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/1.118, allocations: 54.33 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.118, allocations: 4 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.118, allocations: 7.953 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.118, allocations: 0 / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.118, allocations: 4 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/1.118, allocations: 378.1 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/1.119, allocations: 108.8 kB / 1.11 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/1.119, allocations: 3.984 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.119, allocations: 19.98 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/1.119, allocations: 20.05 kB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/1.119, allocations: 7.984 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002348/1.119, allocations: 168.5 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.119, allocations: 0 / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006167/1.12, allocations: 83.53 kB / 1.111 GB, free: 5.465 MB / 0.7136 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: 1 ($whenCondition1) * Number of discrete 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.00119/1.121, allocations: 0.9861 MB / 1.111 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007098/1.122, allocations: 230.5 kB / 1.112 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.122, allocations: 0 / 1.112 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/1.122, allocations: 75.94 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/1.123, allocations: 31.11 kB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/1.124, allocations: 395.5 kB / 1.112 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/1.125, allocations: 0.7677 MB / 1.113 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003289/1.125, allocations: 43.39 kB / 1.113 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/1.125, allocations: 91.41 kB / 1.113 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/1.125, allocations: 0 / 1.113 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/1.172, allocations: 4.42 MB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/1.172, allocations: 160.5 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.664, allocations: 0 / 1.118 GB, free: 14.27 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)