Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 193.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 69.73 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1676, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002846/0.1705, allocations: 2.047 MB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006097/0.1711, allocations: 431.9 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1712, allocations: 7.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1713, allocations: 39.59 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.1714, allocations: 35.67 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.1716, allocations: 107.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1719, allocations: 292.3 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1721, allocations: 148.5 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.1722, allocations: 103.6 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.1723, allocations: 111.4 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1723, allocations: 36 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.1724, allocations: 36 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1724, allocations: 59.78 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.1725, allocations: 127.3 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1728, allocations: 395 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1728, allocations: 0 / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1728, allocations: 0 / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1728, allocations: 0 / 0.7873 GB, free: 9.422 MB / 0.6075 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.0007094/0.1736, allocations: 0.5535 MB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1736, allocations: 12.03 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1736, allocations: 50.73 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1737, allocations: 32.56 kB / 0.788 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.174, allocations: 281.2 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.174, allocations: 16.81 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.174, allocations: 16.38 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.1744, allocations: 250 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1745, allocations: 0 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1745, allocations: 4 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1745, allocations: 4 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.1749, allocations: 173 kB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009351/0.1758, allocations: 0.8522 MB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1762, allocations: 182.7 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1765, allocations: 96.81 kB / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1765, allocations: 224 / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1765, allocations: 38.5 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.1765, allocations: 0 / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0005515/0.1771, allocations: 241.4 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1771, allocations: 81.11 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1773, allocations: 241 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1773, allocations: 33.7 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.1774, allocations: 156.1 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1775, allocations: 43.38 kB / 0.7906 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.1775, allocations: 37.7 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.1776, allocations: 330.8 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1778, allocations: 76.73 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.178, allocations: 111.5 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1783, allocations: 162.2 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1783, allocations: 0 / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004026/0.1787, allocations: 217.3 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1788, allocations: 4 kB / 0.7915 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1788, allocations: 3.938 kB / 0.7915 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1788, allocations: 4 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1789, allocations: 31.97 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.179, allocations: 7.938 kB / 0.7915 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1791, allocations: 27.83 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1791, allocations: 8.094 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001764/0.1793, allocations: 156.8 kB / 0.7917 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001387/0.1794, allocations: 97.02 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000239/0.1797, allocations: 135.4 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.1797, allocations: 0 / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003075/0.18, allocations: 177.4 kB / 0.7921 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.18, allocations: 8 kB / 0.7921 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.18, allocations: 4.094 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-06/0.18, allocations: 3.938 kB / 0.7921 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1801, allocations: 39.92 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1802, allocations: 4 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1803, allocations: 15.89 kB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1803, allocations: 8 kB / 0.7922 GB, free: 4.148 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.1804, allocations: 188.2 kB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1804, allocations: 19.81 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1805, allocations: 25.66 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1805, allocations: 0 / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1805, allocations: 0 / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1805, allocations: 7.922 kB / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1807, allocations: 313.3 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1808, allocations: 0 / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1809, allocations: 27.97 kB / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1809, allocations: 0 / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1809, allocations: 7.875 kB / 0.7927 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1809, allocations: 4 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1809, allocations: 4 kB / 0.7927 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.1815, allocations: 338.4 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1816, allocations: 104.8 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1816, allocations: 12 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1817, allocations: 11.98 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1818, allocations: 7.984 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1818, allocations: 11.94 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001356/0.1819, allocations: 176.5 kB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1819, allocations: 0 / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00032/0.1823, allocations: 67.69 kB / 0.7934 GB, free: 2.758 MB / 0.6075 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 (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.0007646/0.183, allocations: 0.8801 MB / 0.7943 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1835, allocations: 231.8 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1836, allocations: 0 / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1837, allocations: 71.89 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1841, allocations: 39.84 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1866, allocations: 2.32 MB / 0.7969 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1868, allocations: 0.7363 MB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.1869, allocations: 25.53 kB / 0.7976 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.187, allocations: 67.41 kB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.187, allocations: 0 / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5313/0.7184, allocations: 4.174 MB / 0.8018 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.283, allocations: 7.5 kB / 0.8018 GB, free: 10.18 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)