Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00507/0.00507, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001176/0.001176, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.199/1.199, allocations: 205.1 MB / 222.5 MB, free: 4.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.7 MB / 0.5094 GB, free: 2.941 MB / 414.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.001282/0.001282, allocations: 70.09 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1741, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003064/0.1772, allocations: 2.373 MB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1786, allocations: 0.8659 MB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1788, allocations: 7.938 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.179, allocations: 47.47 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1791, allocations: 47.48 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1794, allocations: 151.8 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1798, allocations: 392.2 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.1801, allocations: 172.5 kB / 0.832 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1802, allocations: 139.4 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1804, allocations: 139.3 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.1804, allocations: 40 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.1805, allocations: 40 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1805, allocations: 87.64 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1807, allocations: 159.2 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.181, allocations: 0.4904 MB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1811, allocations: 4 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1811, allocations: 0 / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1811, allocations: 0 / 0.833 GB, free: 11.03 MB / 0.6544 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.0008836/0.182, allocations: 0.6273 MB / 0.8336 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.182, allocations: 16.03 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.1821, allocations: 36.5 kB / 0.8337 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1825, allocations: 344.1 kB / 0.834 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1825, allocations: 16.94 kB / 0.834 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.1826, allocations: 24.38 kB / 0.8341 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.1831, allocations: 301.5 kB / 0.8344 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1831, allocations: 3.938 kB / 0.8344 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.1831, allocations: 12 kB / 0.8344 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1831, allocations: 8 kB / 0.8344 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1836, allocations: 210.1 kB / 0.8346 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1849, allocations: 1.15 MB / 0.8357 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.1854, allocations: 202.8 kB / 0.8359 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1857, allocations: 104.9 kB / 0.836 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1857, allocations: 4 kB / 0.836 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1857, allocations: 42.5 kB / 0.836 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.1857, allocations: 0 / 0.836 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0006737/0.1864, allocations: 273.2 kB / 0.8363 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1864, allocations: 55.34 kB / 0.8364 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1867, allocations: 294.9 kB / 0.8366 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1867, allocations: 29.7 kB / 0.8367 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1869, allocations: 184.1 kB / 0.8368 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1869, allocations: 63.09 kB / 0.8369 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.187, allocations: 41.7 kB / 0.8369 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1871, allocations: 338.8 kB / 0.8373 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1873, allocations: 84.81 kB / 0.8373 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1875, allocations: 118 kB / 0.8375 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.1879, allocations: 189.9 kB / 0.8376 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1879, allocations: 0 / 0.8376 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005114/0.1884, allocations: 253.1 kB / 0.8379 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1885, allocations: 12.09 kB / 0.8379 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1885, allocations: 0 / 0.8379 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1885, allocations: 0 / 0.8379 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1887, allocations: 43.91 kB / 0.8379 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1888, allocations: 4 kB / 0.8379 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1889, allocations: 23.83 kB / 0.838 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1889, allocations: 8 kB / 0.838 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002511/0.1892, allocations: 184.1 kB / 0.8381 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001939/0.1894, allocations: 115.3 kB / 0.8382 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003438/0.1897, allocations: 181.9 kB / 0.8384 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.1898, allocations: 3.938 kB / 0.8384 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004296/0.1902, allocations: 241.1 kB / 0.8387 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.1902, allocations: 6.656 kB / 0.8387 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.1902, allocations: 0 / 0.8387 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.1902, allocations: 4 kB / 0.8387 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1904, allocations: 52 kB / 0.8387 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.1904, allocations: 0 / 0.8387 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1905, allocations: 15.92 kB / 0.8387 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1906, allocations: 16 kB / 0.8387 GB, free: 4.867 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * 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 9.976e-05/0.1907, allocations: 192.1 kB / 0.8389 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1907, allocations: 27.62 kB / 0.839 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.1912, allocations: 231.8 kB / 0.8392 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1913, allocations: 0 / 0.8392 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1913, allocations: 0 / 0.8392 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1913, allocations: 11.92 kB / 0.8392 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.1916, allocations: 349.3 kB / 0.8395 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1916, allocations: 0 / 0.8395 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.1918, allocations: 39.97 kB / 0.8396 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1918, allocations: 0 / 0.8396 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1918, allocations: 4 kB / 0.8396 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1919, allocations: 0 / 0.8396 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1919, allocations: 4 kB / 0.8396 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.1926, allocations: 414.8 kB / 0.84 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.1926, allocations: 100.9 kB / 0.8401 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.1927, allocations: 8 kB / 0.8401 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1928, allocations: 11.98 kB / 0.8401 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1929, allocations: 15.97 kB / 0.8401 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1929, allocations: 7.984 kB / 0.8401 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001755/0.1931, allocations: 206 kB / 0.8403 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1931, allocations: 0 / 0.8403 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003536/0.1934, allocations: 87.59 kB / 0.8404 GB, free: 3.094 MB / 0.6544 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 (18): * Single equations (assignments): 18 * 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.0001054/0.1936, allocations: 111.2 kB / 0.8405 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.1942, allocations: 294 kB / 0.8408 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1942, allocations: 384 / 0.8408 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1944, allocations: 91.89 kB / 0.8409 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1948, allocations: 60.69 kB / 0.8409 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.1956, allocations: 487.1 kB / 0.8414 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1959, allocations: 0.7675 MB / 0.8421 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.196, allocations: 34.28 kB / 0.8422 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1961, allocations: 23.44 kB / 0.8422 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.1961, allocations: 0 / 0.8422 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of Templates: time 0.005282/0.2014, allocations: 2.602 MB / 0.8447 GB, free: 14.62 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)