Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.845/1.845, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001492/0.001492, allocations: 185 kB / 371.8 MB, free: 10.26 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.139/2.139, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 89.09 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005284/0.0005288, allocations: 12.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2968, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9895/1.286, allocations: 140.4 MB / 1.117 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.287, allocations: 89.06 kB / 1.117 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01114/1.298, allocations: 4.552 MB / 1.121 GB, free: 31.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.298, allocations: 0 / 1.121 GB, free: 31.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.363e-05/1.298, allocations: 3.875 kB / 1.121 GB, free: 31.9 MB / 0.698 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.001132/1.299, allocations: 0.5914 MB / 1.122 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.299, allocations: 11.53 kB / 1.122 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/1.299, allocations: 62.69 kB / 1.122 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/1.299, allocations: 31.03 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/1.3, allocations: 299.2 kB / 1.122 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/1.3, allocations: 18.31 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/1.3, allocations: 25.38 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/1.301, allocations: 304.8 kB / 1.122 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.301, allocations: 4 kB / 1.122 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.301, allocations: 13.47 kB / 1.122 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.301, allocations: 3.688 kB / 1.122 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/1.301, allocations: 253.2 kB / 1.123 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/1.303, allocations: 0.9636 MB / 1.124 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/1.303, allocations: 342.9 kB / 1.124 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/1.303, allocations: 7.188 kB / 1.124 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/1.304, allocations: 176.5 kB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/1.304, allocations: 0 / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0007977/1.305, allocations: 356.9 kB / 1.124 GB, free: 30.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.305, allocations: 106.8 kB / 1.125 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/1.305, allocations: 269.6 kB / 1.125 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.305, allocations: 29.27 kB / 1.125 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.305, allocations: 172.7 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/1.305, allocations: 72.23 kB / 1.125 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.305, allocations: 0 / 1.125 GB, free: 30 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.305, allocations: 338.2 kB / 1.125 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/1.305, allocations: 94.3 kB / 1.125 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.306, allocations: 137.3 kB / 1.126 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/1.306, allocations: 104.7 kB / 1.126 GB, free: 29.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.306, allocations: 3.938 kB / 1.126 GB, free: 29.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005016/1.306, allocations: 270.8 kB / 1.126 GB, free: 29.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.307, allocations: 189.2 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.307, allocations: 0 / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.307, allocations: 3.844 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.307, allocations: 54.8 kB / 1.126 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/1.307, allocations: 4 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.307, allocations: 40.28 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.307, allocations: 5.844 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/1.307, allocations: 3.781 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000362/1.307, allocations: 201.9 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.308, allocations: 0 / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/1.308, allocations: 4.156 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.308, allocations: 44.91 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.308, allocations: 11.81 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.308, allocations: 40.38 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/1.308, allocations: 3.906 kB / 1.127 GB, free: 29.34 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 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.0002379/1.308, allocations: 226.5 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/1.308, allocations: 26.41 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/1.309, allocations: 289.2 kB / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.309, allocations: 0 / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.309, allocations: 0 / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.309, allocations: 6.312 kB / 1.127 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.31, allocations: 0.7273 MB / 1.128 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.31, allocations: 0 / 1.128 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/1.31, allocations: 56.77 kB / 1.128 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.31, allocations: 0 / 1.128 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.31, allocations: 7.797 kB / 1.128 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/1.31, allocations: 0 / 1.128 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.31, allocations: 3.984 kB / 1.128 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/1.311, allocations: 0.5091 MB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/1.311, allocations: 106.9 kB / 1.128 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/1.311, allocations: 3.125 kB / 1.128 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.311, allocations: 35.12 kB / 1.128 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/1.311, allocations: 13.52 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/1.311, allocations: 7.594 kB / 1.129 GB, free: 28.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002273/1.312, allocations: 209.5 kB / 1.129 GB, free: 28.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.312, allocations: 0 / 1.129 GB, free: 28.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004327/1.312, allocations: 94.7 kB / 1.129 GB, free: 28.33 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: 1 ($whenCondition1) * 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.001231/1.313, allocations: 1.121 MB / 1.13 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006857/1.314, allocations: 328.6 kB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.314, allocations: 0 / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/1.314, allocations: 121.4 kB / 1.13 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.315, allocations: 42.61 kB / 1.13 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/1.317, allocations: 1.834 MB / 1.132 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/1.318, allocations: 0.7696 MB / 1.133 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001565/1.318, allocations: 26.27 kB / 1.133 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/1.318, allocations: 94.7 kB / 1.133 GB, free: 26.02 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/1.318, allocations: 0 / 1.133 GB, free: 26.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/1.338, allocations: 5.077 MB / 1.138 GB, free: 24.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/1.338, allocations: 205.4 kB / 1.138 GB, free: 23.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.881, allocations: 4 kB / 1.138 GB, free: 23.77 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)