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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001183/0.001183, allocations: 104 kB / 16.29 MB, free: 6.016 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.00131/0.00131, allocations: 188.1 kB / 17.22 MB, free: 5.625 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.172/1.172, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.572/1.572, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001298/0.001298, allocations: 75.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1778, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003117/0.1809, allocations: 2.197 MB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.1818, allocations: 0.5231 MB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.182, allocations: 7.938 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1822, allocations: 51.47 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1823, allocations: 43.55 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1826, allocations: 131.8 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1829, allocations: 376.1 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1832, allocations: 181.1 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1833, allocations: 131.4 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1835, allocations: 143.3 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.2797/0.4632, allocations: 41.52 kB / 0.7878 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.4633, allocations: 43.06 kB / 0.7878 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.4634, allocations: 79.23 kB / 0.7879 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.4635, allocations: 160.6 kB / 0.7881 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.464, allocations: 491.5 kB / 0.7885 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.464, allocations: 0 / 0.7885 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.464, allocations: 0 / 0.7885 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.464, allocations: 0 / 0.7885 GB, free: 46.41 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.0008592/0.4649, allocations: 0.6291 MB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.4649, allocations: 8.469 kB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.465, allocations: 34.41 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4653, allocations: 326.7 kB / 0.7895 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4653, allocations: 20 kB / 0.7895 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.4654, allocations: 23.19 kB / 0.7895 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.4658, allocations: 283 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4658, allocations: 4.781 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4659, allocations: 9.312 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4659, allocations: 8.219 kB / 0.7898 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.4663, allocations: 215.6 kB / 0.79 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4674, allocations: 0.9731 MB / 0.791 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.4679, allocations: 273.5 kB / 0.7913 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.4681, allocations: 102.5 kB / 0.7914 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.4681, allocations: 2.766 kB / 0.7914 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.4682, allocations: 33.06 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.4682, allocations: 1.969 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006267/0.4688, allocations: 262 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.4688, allocations: 60.06 kB / 0.7917 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.4691, allocations: 278.6 kB / 0.792 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4691, allocations: 31.42 kB / 0.792 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4692, allocations: 186.9 kB / 0.7922 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.4693, allocations: 53.34 kB / 0.7922 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.4694, allocations: 42.16 kB / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.4694, allocations: 339.6 kB / 0.7926 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.4696, allocations: 78.3 kB / 0.7927 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.4698, allocations: 119.3 kB / 0.7928 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4702, allocations: 196.7 kB / 0.793 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4702, allocations: 0 / 0.793 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004627/0.4706, allocations: 260.7 kB / 0.7932 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4707, allocations: 4.062 kB / 0.7932 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4707, allocations: 3.5 kB / 0.7932 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4707, allocations: 1 kB / 0.7932 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4709, allocations: 47.17 kB / 0.7933 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4709, allocations: 2.844 kB / 0.7933 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4711, allocations: 25.86 kB / 0.7933 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.4711, allocations: 9.891 kB / 0.7933 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001949/0.4713, allocations: 181.1 kB / 0.7935 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001421/0.4714, allocations: 108.9 kB / 0.7936 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002697/0.4717, allocations: 185.2 kB / 0.7938 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.4717, allocations: 0 / 0.7938 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003558/0.4721, allocations: 245.8 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.4721, allocations: 3.5 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4721, allocations: 4.938 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.4721, allocations: 4.344 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.4723, allocations: 44.06 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4723, allocations: 9.125 kB / 0.794 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4724, allocations: 17.02 kB / 0.7941 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4724, allocations: 12.75 kB / 0.7941 GB, free: 43.96 MB / 0.6544 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 6.514e-05/0.4725, allocations: 196.1 kB / 0.7943 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.4725, allocations: 25.12 kB / 0.7943 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.473, allocations: 215.2 kB / 0.7945 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.473, allocations: 3.281 kB / 0.7945 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.473, allocations: 0 / 0.7945 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.473, allocations: 2.141 kB / 0.7945 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.4736, allocations: 0.6307 MB / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4736, allocations: 0 / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4738, allocations: 44.5 kB / 0.7952 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4738, allocations: 0 / 0.7952 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4738, allocations: 6.844 kB / 0.7952 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4739, allocations: 3.938 kB / 0.7952 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4739, allocations: 0 / 0.7952 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.4744, allocations: 397.4 kB / 0.7955 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.4744, allocations: 101.8 kB / 0.7956 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4745, allocations: 3 kB / 0.7956 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4746, allocations: 20.5 kB / 0.7957 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.4747, allocations: 9.812 kB / 0.7957 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4747, allocations: 10.2 kB / 0.7957 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001338/0.4748, allocations: 203.3 kB / 0.7959 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4748, allocations: 0 / 0.7959 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003385/0.4752, allocations: 90.69 kB / 0.796 GB, free: 43.04 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 (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 8.168e-05/0.4753, allocations: 102.5 kB / 0.7961 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.4758, allocations: 281.7 kB / 0.7963 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4758, allocations: 3.25 kB / 0.7963 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.476, allocations: 87.42 kB / 0.7964 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4764, allocations: 50.77 kB / 0.7965 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.477, allocations: 465.2 kB / 0.7969 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.4771, allocations: 0.7598 MB / 0.7977 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.4773, allocations: 34.56 kB / 0.7977 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.4773, allocations: 19 kB / 0.7977 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.4773, allocations: 0 / 0.7977 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.004642/0.482, allocations: 2.306 MB / 0.8 GB, free: 41.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (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 & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)