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.281/1.281, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009291/0.0009291, allocations: 174.6 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006556/0.0006557, allocations: 89.69 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 8.062 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001746/0.1359, allocations: 2.084 MB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.1368, allocations: 0.8346 MB / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.137, allocations: 8 kB / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1372, allocations: 31.66 kB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.048e-05/0.1372, allocations: 39.66 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1375, allocations: 135.9 kB / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1377, allocations: 360.1 kB / 0.8996 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1379, allocations: 176.7 kB / 0.8998 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.138, allocations: 87.41 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.1381, allocations: 103.3 kB / 0.9 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1381, allocations: 12 kB / 0.9 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.1381, allocations: 8 kB / 0.9 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.1382, allocations: 43.72 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.1382, allocations: 115.2 kB / 0.9001 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1385, allocations: 438.3 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1385, allocations: 0 / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.083e-06/0.1385, allocations: 0 / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1385, allocations: 0 / 0.9006 GB, free: 63.61 MB / 0.6042 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.0006381/0.1391, allocations: 0.5885 MB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1392, allocations: 12.03 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.1392, allocations: 58.72 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1393, allocations: 36.56 kB / 0.9012 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1396, allocations: 332.2 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1396, allocations: 20.94 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1396, allocations: 28.31 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.14, allocations: 301.3 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1401, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1401, allocations: 12 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1401, allocations: 8 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.1405, allocations: 230.1 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.1415, allocations: 1.162 MB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.142, allocations: 214.8 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.1422, allocations: 118.1 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1422, allocations: 11.92 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.1422, allocations: 34.56 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.1422, allocations: 3.938 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0005695/0.1428, allocations: 293.1 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.1428, allocations: 55.41 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.143, allocations: 294.9 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.143, allocations: 25.7 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1431, allocations: 184.1 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1431, allocations: 67.09 kB / 0.9045 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1432, allocations: 21.72 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.1432, allocations: 338.8 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1434, allocations: 79.95 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1436, allocations: 124.2 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.1439, allocations: 209.7 kB / 0.9052 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1439, allocations: 4 kB / 0.9052 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004236/0.1444, allocations: 259.2 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.1444, allocations: 119.6 kB / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1444, allocations: 0 / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1444, allocations: 0 / 0.9056 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1446, allocations: 47.97 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1446, allocations: 4 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1448, allocations: 35.67 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1448, allocations: 12 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-06/0.1448, allocations: 3.938 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003304/0.1451, allocations: 211.8 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.1451, allocations: 0 / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.1452, allocations: 0 / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1453, allocations: 47.91 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.1453, allocations: 8 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1454, allocations: 27.91 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1455, allocations: 7.984 kB / 0.906 GB, free: 57.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.1456, allocations: 229 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1456, allocations: 23.72 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.146, allocations: 246.3 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1461, allocations: 0 / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1461, allocations: 0 / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1461, allocations: 3.938 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.1463, allocations: 353.2 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1463, allocations: 3.984 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1465, allocations: 43.92 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1465, allocations: 3.938 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1465, allocations: 11.98 kB / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1465, allocations: 0 / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1465, allocations: 0 / 0.9069 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1471, allocations: 427 kB / 0.9073 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1472, allocations: 112.8 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.1472, allocations: 3.984 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1473, allocations: 19.98 kB / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1474, allocations: 11.98 kB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1474, allocations: 8 kB / 0.9074 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001344/0.1476, allocations: 206 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1476, allocations: 0 / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003302/0.1479, allocations: 83.69 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007137/0.1486, allocations: 0.9813 MB / 0.9087 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.1492, allocations: 308 kB / 0.909 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1492, allocations: 4.062 kB / 0.909 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1493, allocations: 95.89 kB / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1497, allocations: 48.61 kB / 0.9091 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1524, allocations: 2.845 MB / 0.9119 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.1525, allocations: 0.7674 MB / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.1527, allocations: 34.27 kB / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1528, allocations: 94.03 kB / 0.9127 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1528, allocations: 0 / 0.9127 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/0.5139, allocations: 4.898 MB / 0.9175 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.5141, allocations: 228 kB / 0.9177 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.333, allocations: 4 kB / 0.9177 GB, free: 45.63 MB / 0.6042 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)