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.00535/0.00535, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001249/0.001249, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.203/1.203, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.356/1.356, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001407/0.001407, allocations: 64.42 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1833, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003231/0.1865, allocations: 2.369 MB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1881, allocations: 0.862 MB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.1884, allocations: 4 kB / 0.8312 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1886, allocations: 59.39 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1888, allocations: 51.53 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1891, allocations: 151.7 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.1895, allocations: 396.1 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.1898, allocations: 180.5 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.19, allocations: 131.4 kB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1901, allocations: 143.2 kB / 0.8322 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.1902, allocations: 43.94 kB / 0.8323 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.1902, allocations: 47.94 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1903, allocations: 75.77 kB / 0.8324 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1904, allocations: 155.1 kB / 0.8326 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1908, allocations: 0.4983 MB / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1908, allocations: 0 / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1908, allocations: 0 / 0.833 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1908, allocations: 0 / 0.833 GB, free: 11.06 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.0008332/0.1917, allocations: 0.6273 MB / 0.8337 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1917, allocations: 12.03 kB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.1918, allocations: 32.56 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.1922, allocations: 336.1 kB / 0.834 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1922, allocations: 20.94 kB / 0.834 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1923, allocations: 24.38 kB / 0.8341 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.1928, allocations: 305.5 kB / 0.8344 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1928, allocations: 0 / 0.8344 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1928, allocations: 8 kB / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1928, allocations: 8 kB / 0.8344 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.1933, allocations: 218.1 kB / 0.8346 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1946, allocations: 1.142 MB / 0.8357 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.1951, allocations: 210.8 kB / 0.8359 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1953, allocations: 112.8 kB / 0.836 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1953, allocations: 4 kB / 0.836 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1953, allocations: 42.5 kB / 0.836 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.1954, allocations: 0 / 0.836 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0006467/0.196, allocations: 268 kB / 0.8363 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1961, allocations: 55.41 kB / 0.8364 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1963, allocations: 294.9 kB / 0.8366 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1963, allocations: 29.7 kB / 0.8367 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1965, allocations: 180.1 kB / 0.8368 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1965, allocations: 63.09 kB / 0.8369 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1966, allocations: 45.7 kB / 0.8369 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.1967, allocations: 338.8 kB / 0.8373 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1969, allocations: 84.81 kB / 0.8373 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1971, allocations: 115.5 kB / 0.8375 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.1974, allocations: 189.8 kB / 0.8376 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1975, allocations: 0 / 0.8376 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004734/0.1979, allocations: 248.1 kB / 0.8379 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.198, allocations: 12.03 kB / 0.8379 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.198, allocations: 3.938 kB / 0.8379 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.198, allocations: 0 / 0.8379 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1982, allocations: 55.89 kB / 0.8379 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1982, allocations: 0 / 0.8379 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1983, allocations: 31.83 kB / 0.838 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1984, allocations: 4 kB / 0.838 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002256/0.1986, allocations: 184.1 kB / 0.8381 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001646/0.1988, allocations: 112.2 kB / 0.8383 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003081/0.1991, allocations: 179.4 kB / 0.8384 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.1991, allocations: 3.938 kB / 0.8384 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004005/0.1995, allocations: 243.3 kB / 0.8387 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.1995, allocations: 4 kB / 0.8387 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.1995, allocations: 0 / 0.8387 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.1995, allocations: 4.094 kB / 0.8387 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1997, allocations: 47.91 kB / 0.8387 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.1997, allocations: 0 / 0.8387 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1998, allocations: 19.92 kB / 0.8387 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1998, allocations: 8 kB / 0.8387 GB, free: 4.91 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 8.532e-05/0.1999, allocations: 192.2 kB / 0.8389 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.2, allocations: 27.62 kB / 0.839 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.2005, allocations: 235.7 kB / 0.8392 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2005, allocations: 4 kB / 0.8392 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2005, allocations: 0 / 0.8392 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2005, allocations: 0 / 0.8392 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.2008, allocations: 353.3 kB / 0.8395 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2008, allocations: 0 / 0.8395 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.201, allocations: 35.97 kB / 0.8396 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.201, allocations: 4 kB / 0.8396 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.201, allocations: 4 kB / 0.8396 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.201, allocations: 7.938 kB / 0.8396 GB, free: 4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.201, allocations: 0 / 0.8396 GB, free: 4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.2017, allocations: 413.2 kB / 0.84 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.2017, allocations: 104.8 kB / 0.8401 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.2018, allocations: 3.984 kB / 0.8401 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2019, allocations: 15.98 kB / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.202, allocations: 11.98 kB / 0.8401 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.202, allocations: 4 kB / 0.8401 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001684/0.2022, allocations: 209.9 kB / 0.8403 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2022, allocations: 3.938 kB / 0.8403 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003398/0.2025, allocations: 91.66 kB / 0.8404 GB, free: 3.129 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 9.389e-05/0.2026, allocations: 111.1 kB / 0.8405 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.2032, allocations: 275.7 kB / 0.8408 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2032, allocations: 4.375 kB / 0.8408 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.2034, allocations: 91.89 kB / 0.8408 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2038, allocations: 64.53 kB / 0.8409 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.2046, allocations: 495.1 kB / 0.8414 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2048, allocations: 0.7674 MB / 0.8421 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.2049, allocations: 38.25 kB / 0.8422 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.205, allocations: 23.44 kB / 0.8422 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.205, allocations: 0 / 0.8422 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of Templates: time 0.005155/0.2102, allocations: 2.6 MB / 0.8447 GB, free: 14.66 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)