Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.454/1.454, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.0008902/0.0008901, allocations: 176.5 kB / 371.1 MB, free: 10.83 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.159/1.159, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006496/0.0006496, allocations: 88.84 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 11.75 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001336/0.1442, allocations: 1.65 MB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.1447, allocations: 416.1 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.1448, allocations: 8 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.61e-05/0.1449, allocations: 31.66 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1449, allocations: 19.8 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.1451, allocations: 55.94 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1452, allocations: 252.4 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1454, allocations: 148.5 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.1455, allocations: 63.64 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.1455, allocations: 67.52 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1456, allocations: 8 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.1456, allocations: 4 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1456, allocations: 31.84 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.1457, allocations: 65.58 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1458, allocations: 307.4 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1458, allocations: 0 / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1458, allocations: 3.938 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.1458, allocations: 8 kB / 0.9818 GB, free: 24.94 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005342/0.1464, allocations: 0.5146 MB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.1464, allocations: 16.02 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1465, allocations: 50.73 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1465, allocations: 32.66 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1467, allocations: 285.1 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1467, allocations: 16.81 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1468, allocations: 16.38 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.1471, allocations: 261.9 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1471, allocations: 0 / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1472, allocations: 4 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1472, allocations: 4 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.1475, allocations: 193 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.1483, allocations: 0.8561 MB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.1487, allocations: 202.7 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1489, allocations: 100.8 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1489, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1489, allocations: 38.55 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/0.1489, allocations: 0 / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005023/0.1494, allocations: 257.4 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.1495, allocations: 77.11 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1496, allocations: 248.9 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1496, allocations: 25.7 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.1497, allocations: 160.2 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1497, allocations: 51.3 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.1497, allocations: 0 / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.1498, allocations: 330.8 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1499, allocations: 71.95 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1501, allocations: 117 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1504, allocations: 180.3 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1504, allocations: 0 / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003508/0.1507, allocations: 226.2 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1508, allocations: 118 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1508, allocations: 8 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1508, allocations: 0 / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1509, allocations: 35.98 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.151, allocations: 3.984 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1511, allocations: 39.77 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1511, allocations: 8 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-06/0.1511, allocations: 4 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002366/0.1513, allocations: 144.8 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-06/0.1514, allocations: 3.938 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/0.1514, allocations: 96 / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1515, allocations: 39.92 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.1515, allocations: 3.938 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.964e-05/0.1516, allocations: 27.83 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1516, allocations: 8 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.898e-05/0.1517, allocations: 217.1 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1517, allocations: 23.72 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.1518, allocations: 25.72 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1518, allocations: 3.938 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1518, allocations: 0 / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1518, allocations: 3.984 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.152, allocations: 297.5 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.152, allocations: 4 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1521, allocations: 39.91 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1521, allocations: 4 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1521, allocations: 4 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1521, allocations: 7.938 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1521, allocations: 0 / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.1526, allocations: 375.1 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.1527, allocations: 100.9 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1527, allocations: 4 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1528, allocations: 27.92 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.1529, allocations: 11.92 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1529, allocations: 0 / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001052/0.153, allocations: 176.5 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.153, allocations: 4 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002686/0.1533, allocations: 63.75 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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.0005904/0.1539, allocations: 0.9113 MB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1543, allocations: 245.2 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1543, allocations: 0 / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1545, allocations: 79.91 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1548, allocations: 42.72 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1563, allocations: 1.311 MB / 0.9902 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1564, allocations: 0.7404 MB / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.359e-05/0.1565, allocations: 25.53 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.1566, allocations: 67.41 kB / 0.991 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.1566, allocations: 0 / 0.991 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/0.6472, allocations: 3.954 MB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.6474, allocations: 207 kB / 0.9951 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.449, allocations: 0 / 0.9951 GB, free: 10.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)