Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.514/1.514, allocations: 287.4 MB / 302.6 MB, free: 8.285 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.0009415/0.0009415, allocations: 189.2 kB / 371.1 MB, free: 10.84 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.297/1.297, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007075/0.0007075, allocations: 96.34 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 10.98 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001605/0.1576, allocations: 1.798 MB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006426/0.1583, allocations: 495.8 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1584, allocations: 4 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1585, allocations: 23.72 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.1586, allocations: 39.7 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1588, allocations: 75.88 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.159, allocations: 328.2 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1592, allocations: 161.1 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.1593, allocations: 83.58 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.1594, allocations: 99.34 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.1594, allocations: 8 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/0.1595, allocations: 8 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.1595, allocations: 39.78 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.1596, allocations: 73.52 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1598, allocations: 383.2 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1598, allocations: 0 / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1598, allocations: 0 / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1598, allocations: 4 kB / 0.9822 GB, free: 24.48 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.0006896/0.1605, allocations: 0.5769 MB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1605, allocations: 11.97 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1606, allocations: 58.73 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1606, allocations: 36.56 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1609, allocations: 331.2 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.161, allocations: 16.94 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.161, allocations: 28.38 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.1614, allocations: 292 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1615, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1615, allocations: 8 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1615, allocations: 8 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.1619, allocations: 226.1 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.163, allocations: 0.9977 MB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.1634, allocations: 279.9 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.1636, allocations: 110.8 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1636, allocations: 7.984 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1636, allocations: 38.56 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.1636, allocations: 3.938 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000588/0.1642, allocations: 277.3 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.1642, allocations: 55.34 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1645, allocations: 282.9 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1645, allocations: 29.69 kB / 0.9858 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.1645, allocations: 180.1 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1646, allocations: 55.2 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.1646, allocations: 8 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.1646, allocations: 342.8 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1648, allocations: 75.95 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.165, allocations: 129 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.1654, allocations: 198.4 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1654, allocations: 0 / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004284/0.1658, allocations: 257.2 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.1659, allocations: 126.3 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1659, allocations: 3.938 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1659, allocations: 7.938 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1661, allocations: 51.97 kB / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1661, allocations: 0 / 0.9872 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1663, allocations: 39.61 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1663, allocations: 8 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.1663, allocations: 6.344 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003423/0.1666, allocations: 203.7 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.1666, allocations: 4 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-06/0.1666, allocations: 0 / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1668, allocations: 51.91 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1668, allocations: 8.125 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1669, allocations: 23.83 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.167, allocations: 8 kB / 0.9875 GB, free: 18.79 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.763e-05/0.1671, allocations: 229 kB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1671, allocations: 27.7 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.1675, allocations: 231.7 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1676, allocations: 4 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1676, allocations: 0 / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1676, allocations: 4 kB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.1682, allocations: 0.6386 MB / 0.9886 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1683, allocations: 8 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1684, allocations: 40.03 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1684, allocations: 7.922 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1685, allocations: 8 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1685, allocations: 0 / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1685, allocations: 0 / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.1691, allocations: 417.5 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1691, allocations: 104.8 kB / 0.9891 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1691, allocations: 4 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.1693, allocations: 19.92 kB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1693, allocations: 11.98 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1694, allocations: 7.984 kB / 0.9892 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001314/0.1695, allocations: 198 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1695, allocations: 4.062 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003032/0.1698, allocations: 95.52 kB / 0.9895 GB, free: 16.66 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.0007267/0.1705, allocations: 0.9398 MB / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.1711, allocations: 304.7 kB / 0.9907 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1711, allocations: 0 / 0.9907 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1713, allocations: 91.8 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1716, allocations: 54.8 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1736, allocations: 1.534 MB / 0.9923 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.1737, allocations: 0.756 MB / 0.9931 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.1738, allocations: 25.94 kB / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1739, allocations: 91.41 kB / 0.9932 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.174, allocations: 4 kB / 0.9932 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5465/0.7204, allocations: 4.664 MB / 0.9977 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.7206, allocations: 213.2 kB / 0.9979 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.571, allocations: 3.938 kB / 0.9979 GB, free: 8.043 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)