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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008839/0.0008838, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.112/1.112, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.505/1.505, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004914/0.0004915, allocations: 21.81 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001827/0.1678, allocations: 1.875 MB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000694/0.1685, allocations: 0.4958 MB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1687, allocations: 7.938 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1688, allocations: 35.72 kB / 0.7904 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.1689, allocations: 35.72 kB / 0.7904 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1691, allocations: 119.8 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1694, allocations: 332.2 kB / 0.7908 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1696, allocations: 161.1 kB / 0.791 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1698, allocations: 91.45 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1699, allocations: 103.3 kB / 0.7912 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1699, allocations: 8 kB / 0.7912 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.1699, allocations: 8 kB / 0.7912 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.17, allocations: 39.77 kB / 0.7912 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.1701, allocations: 148.8 kB / 0.7914 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1704, allocations: 434.6 kB / 0.7918 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1704, allocations: 3.938 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1704, allocations: 7.938 kB / 0.7918 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1704, allocations: 0 / 0.7918 GB, free: 7.578 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007413/0.1711, allocations: 0.5769 MB / 0.7924 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1712, allocations: 8.031 kB / 0.7924 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.1712, allocations: 58.73 kB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.1713, allocations: 32.56 kB / 0.7925 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1716, allocations: 331.3 kB / 0.7928 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1717, allocations: 16.94 kB / 0.7928 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1717, allocations: 32.31 kB / 0.7928 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.1722, allocations: 292 kB / 0.7931 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1722, allocations: 0 / 0.7931 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1722, allocations: 8 kB / 0.7931 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1723, allocations: 8 kB / 0.7931 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.1727, allocations: 222.1 kB / 0.7933 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.174, allocations: 0.9976 MB / 0.7943 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.1744, allocations: 291.8 kB / 0.7946 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.1747, allocations: 107.5 kB / 0.7947 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1747, allocations: 7.984 kB / 0.7947 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1747, allocations: 38.56 kB / 0.7947 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1747, allocations: 0 / 0.7947 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006468/0.1754, allocations: 277.2 kB / 0.795 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1754, allocations: 59.34 kB / 0.795 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1757, allocations: 286.9 kB / 0.7953 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1757, allocations: 25.7 kB / 0.7953 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1758, allocations: 184 kB / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1758, allocations: 59.2 kB / 0.7956 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1759, allocations: 25.7 kB / 0.7956 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.176, allocations: 338.8 kB / 0.7959 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1762, allocations: 79.95 kB / 0.796 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.1764, allocations: 125.1 kB / 0.7961 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1768, allocations: 204.2 kB / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1768, allocations: 4 kB / 0.7963 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004885/0.1773, allocations: 259.8 kB / 0.7966 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.1774, allocations: 120.5 kB / 0.7967 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1774, allocations: 0 / 0.7967 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1774, allocations: 3.984 kB / 0.7967 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.1776, allocations: 59.91 kB / 0.7967 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1776, allocations: 0 / 0.7967 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1778, allocations: 39.61 kB / 0.7968 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1778, allocations: 8 kB / 0.7968 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/0.1778, allocations: 4 kB / 0.7968 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003896/0.1782, allocations: 203.8 kB / 0.797 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.1782, allocations: 3.938 kB / 0.797 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.1782, allocations: 4 kB / 0.797 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1784, allocations: 52.03 kB / 0.797 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.1784, allocations: 4 kB / 0.797 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1785, allocations: 27.83 kB / 0.7971 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1786, allocations: 4 kB / 0.7971 GB, free: 1.855 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.1787, allocations: 229.7 kB / 0.7973 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1787, allocations: 23.72 kB / 0.7973 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.1792, allocations: 242.6 kB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1792, allocations: 3.938 kB / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1793, allocations: 4 kB / 0.7976 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1793, allocations: 4 kB / 0.7976 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.1801, allocations: 0.6425 MB / 0.7982 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1801, allocations: 64 / 0.7982 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1803, allocations: 47.97 kB / 0.7982 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1803, allocations: 0 / 0.7982 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1803, allocations: 0 / 0.7982 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1803, allocations: 4 kB / 0.7982 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1803, allocations: 0 / 0.7982 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.181, allocations: 418.9 kB / 0.7986 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.181, allocations: 104.8 kB / 0.7987 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1811, allocations: 4 kB / 0.7987 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1812, allocations: 19.98 kB / 0.7988 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1813, allocations: 11.98 kB / 0.7988 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1813, allocations: 0 / 0.7988 GB, free: 8 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001722/0.1815, allocations: 210 kB / 0.799 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1815, allocations: 0 / 0.799 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003414/0.1818, allocations: 91.53 kB / 0.7991 GB, free: 15.71 MB / 0.6231 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 (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.0008611/0.1827, allocations: 0.9493 MB / 0.8 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.1833, allocations: 302.8 kB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1833, allocations: 4 kB / 0.8003 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1835, allocations: 91.8 kB / 0.8004 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1839, allocations: 48.98 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.1869, allocations: 2.806 MB / 0.8031 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1872, allocations: 0.7558 MB / 0.8039 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.1873, allocations: 29.94 kB / 0.8039 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1874, allocations: 95.39 kB / 0.804 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.1874, allocations: 0 / 0.804 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.385/1.572, allocations: 4.555 MB / 0.8085 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.572, allocations: 219.4 kB / 0.8087 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/3.059, allocations: 4 kB / 0.8087 GB, free: 5.859 MB / 0.6231 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/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)