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.001205/0.001205, allocations: 100.4 kB / 16.35 MB, free: 6.305 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.001299/0.001299, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001506/0.001506, allocations: 67.89 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2378, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003624/0.2414, allocations: 2.202 MB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2426, allocations: 0.5152 MB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.2428, allocations: 11.94 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.243, allocations: 47.52 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2432, allocations: 47.53 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2435, allocations: 135.8 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4139/0.6574, allocations: 372.2 kB / 0.788 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.658, allocations: 167.7 kB / 0.7882 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.6583, allocations: 137.1 kB / 0.7883 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.6585, allocations: 138.6 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.6586, allocations: 42.91 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.6586, allocations: 40.5 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.6587, allocations: 87.77 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.6588, allocations: 157.5 kB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.6593, allocations: 498.5 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6593, allocations: 2.656 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6593, allocations: 0 / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6594, allocations: 0 / 0.7892 GB, free: 46.54 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.0009127/0.6603, allocations: 0.6191 MB / 0.7898 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6603, allocations: 10.56 kB / 0.7899 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.6604, allocations: 37.36 kB / 0.7899 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.6608, allocations: 333.6 kB / 0.7902 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.6609, allocations: 20.56 kB / 0.7902 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.6609, allocations: 24.5 kB / 0.7903 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.6614, allocations: 284 kB / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6614, allocations: 4.781 kB / 0.7905 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.6614, allocations: 10.78 kB / 0.7905 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.6615, allocations: 9.5 kB / 0.7905 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.6619, allocations: 205.7 kB / 0.7907 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.6631, allocations: 0.9745 MB / 0.7917 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.6636, allocations: 276.1 kB / 0.792 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.6638, allocations: 105 kB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.6638, allocations: 2.625 kB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6639, allocations: 36.23 kB / 0.7921 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.6639, allocations: 0 / 0.7921 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006347/0.6645, allocations: 262.4 kB / 0.7923 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.6646, allocations: 54.03 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.6648, allocations: 284.1 kB / 0.7927 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.6648, allocations: 27.3 kB / 0.7927 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.6649, allocations: 186.7 kB / 0.7929 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.665, allocations: 53.61 kB / 0.7929 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.665, allocations: 43.41 kB / 0.793 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.6651, allocations: 338.5 kB / 0.7933 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.6653, allocations: 84.06 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.6655, allocations: 122.7 kB / 0.7935 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.6659, allocations: 189 kB / 0.7937 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6659, allocations: 4.562 kB / 0.7937 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004614/0.6664, allocations: 255.9 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6664, allocations: 6.969 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6664, allocations: 3.531 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6664, allocations: 3.344 kB / 0.7939 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6667, allocations: 40.42 kB / 0.794 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6667, allocations: 7.891 kB / 0.794 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6668, allocations: 25.64 kB / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.6668, allocations: 6.688 kB / 0.794 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002146/0.6671, allocations: 181.8 kB / 0.7942 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000156/0.6672, allocations: 115.1 kB / 0.7943 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002994/0.6675, allocations: 179.3 kB / 0.7945 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6675, allocations: 0 / 0.7945 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004095/0.668, allocations: 241.2 kB / 0.7947 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.668, allocations: 8.062 kB / 0.7947 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.668, allocations: 1.562 kB / 0.7947 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-06/0.668, allocations: 3.469 kB / 0.7947 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.6682, allocations: 47.64 kB / 0.7947 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.6682, allocations: 5.984 kB / 0.7948 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.6683, allocations: 23.92 kB / 0.7948 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6683, allocations: 9.484 kB / 0.7948 GB, free: 44.07 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 8.245e-05/0.6684, allocations: 194.2 kB / 0.795 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.6685, allocations: 23.59 kB / 0.795 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.669, allocations: 223.1 kB / 0.7952 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.669, allocations: 5.938 kB / 0.7952 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.669, allocations: 0 / 0.7952 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.669, allocations: 0 / 0.7952 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.6697, allocations: 0.6279 MB / 0.7958 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.6698, allocations: 2.125 kB / 0.7958 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.6699, allocations: 44.95 kB / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.67, allocations: 0 / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.67, allocations: 2.5 kB / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.67, allocations: 3.281 kB / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.67, allocations: 3.938 kB / 0.7959 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.6706, allocations: 398.4 kB / 0.7963 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.6707, allocations: 102.5 kB / 0.7964 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.6707, allocations: 0 / 0.7964 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6709, allocations: 18.08 kB / 0.7964 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.6709, allocations: 9.453 kB / 0.7964 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.6709, allocations: 10.97 kB / 0.7964 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001493/0.6711, allocations: 200.4 kB / 0.7966 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6711, allocations: 64 / 0.7966 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003674/0.6715, allocations: 96.34 kB / 0.7967 GB, free: 43.14 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 0.0001233/0.6716, allocations: 106 kB / 0.7968 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006389/0.6722, allocations: 278.4 kB / 0.797 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6722, allocations: 0 / 0.797 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.6724, allocations: 82.61 kB / 0.7971 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.6728, allocations: 41.81 kB / 0.7972 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.6736, allocations: 0.5065 MB / 0.7977 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.6738, allocations: 0.7622 MB / 0.7984 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.6739, allocations: 25.91 kB / 0.7984 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6739, allocations: 0 / 0.7984 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.006439/0.6804, allocations: 3.221 MB / 0.8016 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)