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.424/1.424, allocations: 288.4 MB / 303.6 MB, free: 8.027 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.0009193/0.0009193, allocations: 168.5 kB / 372.2 MB, free: 10.12 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.098/1.098, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006718/0.0006719, allocations: 98.89 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003051, allocations: 16.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001524/0.1407, allocations: 1.794 MB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000623/0.1413, allocations: 491.8 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1415, allocations: 4 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1416, allocations: 39.66 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.1417, allocations: 27.78 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1418, allocations: 75.86 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.142, allocations: 328.2 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1423, allocations: 161.1 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.1424, allocations: 83.5 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.1424, allocations: 91.42 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.1425, allocations: 8 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.1425, allocations: 8 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1425, allocations: 47.75 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1426, allocations: 133 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1428, allocations: 383.2 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1428, allocations: 0 / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1428, allocations: 4 kB / 0.9837 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.1428, allocations: 0 / 0.9837 GB, free: 23.55 MB / 0.6198 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.0006616/0.1435, allocations: 0.5691 MB / 0.9843 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1435, allocations: 12.03 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.1436, allocations: 74.59 kB / 0.9844 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1436, allocations: 32.56 kB / 0.9844 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.144, allocations: 331.3 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.144, allocations: 24.92 kB / 0.9848 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.144, allocations: 28.38 kB / 0.9848 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.1445, allocations: 291.9 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1445, allocations: 0 / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1445, allocations: 12 kB / 0.9851 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1445, allocations: 7.938 kB / 0.9851 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.1449, allocations: 222.1 kB / 0.9853 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.146, allocations: 0.9859 MB / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.1463, allocations: 290.9 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1465, allocations: 110.8 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1466, allocations: 0 / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1466, allocations: 42.56 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.1466, allocations: 0 / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005937/0.1472, allocations: 273.3 kB / 0.9869 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.1472, allocations: 63.28 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1474, allocations: 278.9 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1474, allocations: 29.7 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1475, allocations: 180.1 kB / 0.9875 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1475, allocations: 67.17 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.1476, allocations: 0 / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.1476, allocations: 338.8 kB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1478, allocations: 79.95 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.148, allocations: 121.1 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.1483, allocations: 202.4 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1483, allocations: 0 / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004286/0.1488, allocations: 262.4 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1488, allocations: 124.6 kB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1488, allocations: 4 kB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1488, allocations: 0 / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.149, allocations: 59.83 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1491, allocations: 4 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1492, allocations: 39.61 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1492, allocations: 4 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-06/0.1492, allocations: 4 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003423/0.1496, allocations: 210.8 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.1496, allocations: 0 / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.1496, allocations: 4 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1498, allocations: 52.03 kB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.1498, allocations: 0 / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1499, allocations: 27.83 kB / 0.989 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1499, allocations: 12.06 kB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.15, allocations: 229 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.15, allocations: 19.72 kB / 0.9892 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.1505, allocations: 241 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1505, allocations: 0 / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1505, allocations: 4 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1505, allocations: 4 kB / 0.9895 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.1512, allocations: 0.6518 MB / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1512, allocations: 0 / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1514, allocations: 39.97 kB / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1514, allocations: 0 / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1514, allocations: 0 / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1514, allocations: 0 / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1514, allocations: 4 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.152, allocations: 424.2 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.152, allocations: 100.8 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1521, allocations: 4 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1522, allocations: 19.98 kB / 0.9907 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1523, allocations: 7.984 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1523, allocations: 4 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001288/0.1524, allocations: 206 kB / 0.9909 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1524, allocations: 0 / 0.9909 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003101/0.1527, allocations: 91.53 kB / 0.991 GB, free: 15.73 MB / 0.6198 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 (17): * Single equations (assignments): 17 * 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.0006944/0.1534, allocations: 0.9434 MB / 0.9919 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.154, allocations: 296.7 kB / 0.9922 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.154, allocations: 3.938 kB / 0.9922 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1542, allocations: 95.8 kB / 0.9923 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1545, allocations: 42.14 kB / 0.9923 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1564, allocations: 1.54 MB / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.1566, allocations: 0.7638 MB / 0.9946 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000114/0.1567, allocations: 29.92 kB / 0.9946 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1568, allocations: 99.34 kB / 0.9947 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1568, allocations: 0 / 0.9947 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5889/0.7457, allocations: 4.694 MB / 0.9993 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.7459, allocations: 214.5 kB / 0.9995 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.407, allocations: 2.672 kB / 0.9995 GB, free: 7.078 MB / 0.6198 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)