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.892/1.892, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.002011/0.002011, allocations: 189 kB / 377.1 MB, free: 1.527 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.21/2.21, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.00124/0.00124, allocations: 95.5 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9953/1.335, allocations: 141.3 MB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.335, allocations: 87.28 kB / 1.127 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01045/1.346, allocations: 4.546 MB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/1.346, allocations: 0 / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.054e-05/1.346, allocations: 8 kB / 1.131 GB, free: 30.7 MB / 0.7292 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.0008898/1.347, allocations: 0.59 MB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.347, allocations: 12.02 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/1.347, allocations: 58.08 kB / 1.132 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/1.347, allocations: 33.69 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/1.347, allocations: 294.7 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/1.347, allocations: 21.11 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/1.347, allocations: 32 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/1.348, allocations: 302.9 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.348, allocations: 0 / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/1.348, allocations: 16 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.348, allocations: 8.156 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/1.349, allocations: 253.2 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.35, allocations: 0.9653 MB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/1.351, allocations: 346.2 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/1.351, allocations: 2.438 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/1.351, allocations: 175.8 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/1.351, allocations: 4 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0008175/1.352, allocations: 351.4 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.352, allocations: 112.4 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/1.352, allocations: 266.5 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/1.352, allocations: 30.31 kB / 1.135 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.353, allocations: 167.7 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/1.353, allocations: 72.47 kB / 1.135 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/1.353, allocations: 0 / 1.135 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/1.353, allocations: 335.3 kB / 1.135 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/1.353, allocations: 90.25 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.353, allocations: 141.1 kB / 1.135 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/1.353, allocations: 105.4 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.353, allocations: 0.5625 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005206/1.354, allocations: 282.7 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/1.354, allocations: 182.7 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.354, allocations: 0.6562 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.354, allocations: 4 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/1.354, allocations: 49.05 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/1.354, allocations: 0.5625 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.355, allocations: 43.88 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/1.355, allocations: 9.312 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/1.355, allocations: 6.031 kB / 1.136 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003788/1.355, allocations: 201.9 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/1.355, allocations: 0 / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/1.355, allocations: 0.8438 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.355, allocations: 47.52 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/1.355, allocations: 0.6562 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/1.355, allocations: 44.98 kB / 1.136 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.355, allocations: 4.797 kB / 1.136 GB, free: 25.43 MB / 0.7292 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.000209/1.356, allocations: 229.6 kB / 1.137 GB, free: 25.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/1.356, allocations: 24.23 kB / 1.137 GB, free: 25.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/1.356, allocations: 291.5 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.356, allocations: 4.562 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.356, allocations: 1.031 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.356, allocations: 1.406 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.357, allocations: 0.7374 MB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.357, allocations: 0.5 kB / 1.138 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/1.358, allocations: 52.27 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.358, allocations: 0.6562 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.358, allocations: 9.719 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.358, allocations: 0 / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.358, allocations: 0 / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/1.359, allocations: 0.5033 MB / 1.138 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/1.359, allocations: 107.9 kB / 1.138 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/1.359, allocations: 5.688 kB / 1.138 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.359, allocations: 34.67 kB / 1.138 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.359, allocations: 13.48 kB / 1.138 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.359, allocations: 10.42 kB / 1.138 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002099/1.359, allocations: 210.8 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.359, allocations: 0 / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004019/1.36, allocations: 100.2 kB / 1.139 GB, free: 23.24 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 () * 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.001075/1.361, allocations: 1.119 MB / 1.14 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000739/1.361, allocations: 324.2 kB / 1.14 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.361, allocations: 1.219 kB / 1.14 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/1.362, allocations: 125.3 kB / 1.14 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.362, allocations: 35.81 kB / 1.14 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/1.365, allocations: 1.833 MB / 1.142 GB, free: 20 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/1.365, allocations: 0.7731 MB / 1.143 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001628/1.365, allocations: 26.61 kB / 1.143 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.366, allocations: 93.94 kB / 1.143 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.366, allocations: 0 / 1.143 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/1.387, allocations: 5.062 MB / 1.148 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/1.388, allocations: 194.4 kB / 1.148 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.758, allocations: 9.812 kB / 1.148 GB, free: 16.06 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)