Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001363/0.001363, allocations: 176.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.3 MB / 0.626 GB, free: 7.133 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.001001/0.001001, allocations: 93.84 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.723e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.033, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/1.322, allocations: 140.6 MB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.322, allocations: 100.4 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01165/1.334, allocations: 4.497 MB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.384e-06/1.334, allocations: 0 / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.128e-05/1.334, allocations: 8 kB / 1.115 GB, free: 4.918 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.0008153/1.335, allocations: 0.5466 MB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.335, allocations: 12.03 kB / 1.116 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/1.335, allocations: 39.56 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/1.336, allocations: 289.6 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.336, allocations: 8 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/1.336, allocations: 12 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003195/1.336, allocations: 161.1 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/1.336, allocations: 230.6 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.336, allocations: 0 / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/1.337, allocations: 7.25 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.337, allocations: 9.406 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.338, allocations: 0.8926 MB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/1.338, allocations: 272 kB / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/1.339, allocations: 88.84 kB / 1.118 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/1.339, allocations: 7.984 kB / 1.118 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/1.339, allocations: 129.1 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/1.339, allocations: 0 / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0003456/1.339, allocations: 171.7 kB / 1.118 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.339, allocations: 114.7 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.339, allocations: 207.8 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.339, allocations: 25.7 kB / 1.118 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.34, allocations: 180.1 kB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/1.34, allocations: 59.09 kB / 1.118 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.34, allocations: 0 / 1.118 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.34, allocations: 342.8 kB / 1.119 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/1.34, allocations: 54.25 kB / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/1.34, allocations: 92.86 kB / 1.119 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/1.34, allocations: 63.97 kB / 1.119 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.34, allocations: 0 / 1.119 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003341/1.341, allocations: 191.7 kB / 1.119 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/1.341, allocations: 182 kB / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.341, allocations: 0 / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.341, allocations: 3.953 kB / 1.119 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.341, allocations: 59.92 kB / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.341, allocations: 0 / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.341, allocations: 31.83 kB / 1.119 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/1.341, allocations: 13.62 kB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/1.341, allocations: 5.719 kB / 1.119 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002225/1.341, allocations: 131.9 kB / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/1.341, allocations: 0 / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/1.341, allocations: 0 / 1.12 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/1.342, allocations: 43.92 kB / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-06/1.342, allocations: 0 / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.342, allocations: 27.91 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.342, allocations: 12.03 kB / 1.12 GB, free: 4 kB / 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.0001223/1.342, allocations: 114.8 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002548/1.342, allocations: 171.1 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/1.342, allocations: 23.72 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/1.343, allocations: 191.8 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.343, allocations: 8.172 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.343, allocations: 0 / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.343, allocations: 3.938 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/1.343, allocations: 0.5953 MB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.343, allocations: 0 / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.344, allocations: 51.89 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.344, allocations: 4 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.344, allocations: 4 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.344, allocations: 3.953 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.344, allocations: 4.031 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/1.344, allocations: 377 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/1.344, allocations: 104.8 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/1.344, allocations: 11.88 kB / 1.121 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/1.345, allocations: 24.05 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/1.345, allocations: 11.98 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.345, allocations: 11.98 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001385/1.345, allocations: 168.5 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.345, allocations: 0.9375 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003776/1.345, allocations: 83.53 kB / 1.122 GB, free: 13.97 MB / 0.7292 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.0008132/1.346, allocations: 0.983 MB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003986/1.346, allocations: 227.3 kB / 1.123 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.346, allocations: 0 / 1.123 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.347, allocations: 79.83 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/1.347, allocations: 36.23 kB / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/1.348, allocations: 387.3 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.348, allocations: 0.7717 MB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001911/1.348, allocations: 37.78 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.349, allocations: 91.41 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.024e-06/1.349, allocations: 0 / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/1.375, allocations: 4.421 MB / 1.128 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/1.376, allocations: 159.2 kB / 1.129 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/3.427, allocations: 4 kB / 1.129 GB, free: 6.785 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)