Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 182.5 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.726/2.726, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 99.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004822, allocations: 16.19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06617/0.2786, allocations: 52.71 MB / 0.9504 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03293/0.3116, allocations: 16.92 MB / 0.9669 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.3148, allocations: 75.44 kB / 0.967 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005104/0.3199, allocations: 0.9952 MB / 0.9679 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.3314, allocations: 2.555 MB / 0.9704 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01303/0.3444, allocations: 2.922 MB / 0.9733 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008374/0.3528, allocations: 3.016 MB / 0.9762 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.3562, allocations: 1.334 MB / 0.9775 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/0.3615, allocations: 1.534 MB / 0.979 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.3642, allocations: 0.976 MB / 0.98 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.3648, allocations: 76 kB / 0.98 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005564/0.3704, allocations: 1.451 MB / 0.9815 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.3715, allocations: 398.4 kB / 0.9818 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.3725, allocations: 452.6 kB / 0.9823 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006264/0.3788, allocations: 2.693 MB / 0.9849 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3788, allocations: 0 / 0.9849 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3788, allocations: 0 / 0.9849 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.997e-05/0.3789, allocations: 0 / 0.9849 GB, free: 9.184 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.007284/0.3862, allocations: 2.256 MB / 0.9871 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.3863, allocations: 12.03 kB / 0.9871 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007016/0.3933, allocations: 0.77 MB / 0.9879 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/0.3986, allocations: 1.716 MB / 0.9895 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007197/0.3994, allocations: 166.5 kB / 0.9897 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.3998, allocations: 132 kB / 0.9898 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.4057, allocations: 1.649 MB / 0.9914 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.4058, allocations: 7.938 kB / 0.9914 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.406, allocations: 52 kB / 0.9915 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.4061, allocations: 32 kB / 0.9915 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007168/0.4133, allocations: 1.484 MB / 0.993 GB, free: 0.668 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.4343, allocations: 9.016 MB / 1.002 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009687/0.444, allocations: 1.456 MB / 1.003 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009424/0.4535, allocations: 3.25 MB / 1.006 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003052/0.4566, allocations: 0.651 MB / 1.007 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001346/0.458, allocations: 179 kB / 1.007 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=66): time 5.891e-06/0.458, allocations: 0 / 1.007 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66): time 0.009123/0.4672, allocations: 1.656 MB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4673, allocations: 137.1 kB / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.4709, allocations: 1.612 MB / 1.011 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.4712, allocations: 41.7 kB / 1.011 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.4725, allocations: 0.8924 MB / 1.011 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.4729, allocations: 240.7 kB / 1.012 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.473, allocations: 27.94 kB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4732, allocations: 349.9 kB / 1.012 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/0.4763, allocations: 0.5413 MB / 1.013 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/0.4809, allocations: 1.026 MB / 1.014 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.4853, allocations: 0.6489 MB / 1.014 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/0.4854, allocations: 11.94 kB / 1.014 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01135/0.4967, allocations: 1.692 MB / 1.016 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003047/0.4999, allocations: 5.025 MB / 1.021 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-05/0.5, allocations: 15.98 kB / 1.021 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.611e-05/0.5001, allocations: 20 kB / 1.021 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.5042, allocations: 339.5 kB / 1.021 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-05/0.5043, allocations: 23.92 kB / 1.021 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.509, allocations: 196.4 kB / 1.021 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.5095, allocations: 59.97 kB / 1.021 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5095, allocations: 4 kB / 1.021 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009731/0.5193, allocations: 1.512 MB / 1.023 GB, free: 364 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/0.5194, allocations: 20.86 kB / 1.023 GB, free: 344 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/0.5195, allocations: 20 kB / 1.023 GB, free: 324 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.5234, allocations: 339.5 kB / 1.023 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.923e-05/0.5235, allocations: 19.94 kB / 1.023 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/0.5278, allocations: 204.3 kB / 1.023 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.5282, allocations: 55.98 kB / 1.023 GB, free: 15.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 0.00182/0.5301, allocations: 0.4967 MB / 1.024 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000727/0.5308, allocations: 177.8 kB / 1.024 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.5409, allocations: 1.506 MB / 1.026 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/0.541, allocations: 8 kB / 1.026 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5411, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008165/0.5492, allocations: 1.387 MB / 1.027 GB, free: 12.07 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.5632, allocations: 3.147 MB / 1.03 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5633, allocations: 0 / 1.03 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/0.5657, allocations: 227.8 kB / 1.03 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/0.5657, allocations: 4 kB / 1.03 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.5659, allocations: 23.97 kB / 1.03 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.5659, allocations: 4 kB / 1.03 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.566, allocations: 0 / 1.03 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.5761, allocations: 2.203 MB / 1.032 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.5775, allocations: 382.6 kB / 1.033 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/0.5781, allocations: 23.95 kB / 1.033 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/0.5811, allocations: 183.7 kB / 1.033 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.5814, allocations: 48.58 kB / 1.033 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.5816, allocations: 35.97 kB / 1.033 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003013/0.5846, allocations: 1.074 MB / 1.034 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5847, allocations: 0 / 1.034 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005538/0.5902, allocations: 0.9902 MB / 1.035 GB, free: 3.551 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002064/0.5924, allocations: 0.5695 MB / 1.036 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01102/0.6034, allocations: 2.274 MB / 1.038 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.6035, allocations: 4 kB / 1.038 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003406/0.6069, allocations: 0.6252 MB / 1.038 GB, free: 52 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006719/0.6137, allocations: 0.7797 MB / 1.039 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.6262, allocations: 4.095 MB / 1.043 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.6281, allocations: 1.412 MB / 1.045 GB, free: 9.703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003844/0.632, allocations: 467.9 kB / 1.045 GB, free: 9.262 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.6331, allocations: 155.4 kB / 1.045 GB, free: 9.109 MB / 0.698 GB Notification: Performance of SimCode: time 1.874e-06/0.6332, allocations: 0 / 1.045 GB, free: 9.109 MB / 0.698 GB Notification: Performance of Templates: time 0.6888/1.322, allocations: 34.77 MB / 1.079 GB, free: 137.4 MB / 0.698 GB