Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.315, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001499/0.001498, allocations: 169.3 kB / 325.6 MB, free: 2.844 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.395/2.395, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001163/0.001163, allocations: 103.6 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004744, allocations: 10.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.07111/0.2886, allocations: 48.05 MB / 0.9458 GB, free: 17.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02909/0.3178, allocations: 15.37 MB / 0.9608 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.3206, allocations: 51.62 kB / 0.9609 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004386/0.325, allocations: 0.8826 MB / 0.9617 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009707/0.3348, allocations: 2.197 MB / 0.9639 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.3478, allocations: 2.739 MB / 0.9666 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007319/0.3551, allocations: 2.274 MB / 0.9688 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.3577, allocations: 1.026 MB / 0.9698 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.3612, allocations: 1.07 MB / 0.9708 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.3631, allocations: 0.7076 MB / 0.9715 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.3634, allocations: 52 kB / 0.9716 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.3674, allocations: 1.065 MB / 0.9726 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007831/0.3683, allocations: 302.8 kB / 0.9729 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.3691, allocations: 360.9 kB / 0.9732 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.3761, allocations: 2.272 MB / 0.9755 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3762, allocations: 0 / 0.9755 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3762, allocations: 0 / 0.9755 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.881e-05/0.3763, allocations: 0 / 0.9755 GB, free: 2.914 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.008184/0.3845, allocations: 1.823 MB / 0.9772 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3846, allocations: 12.03 kB / 0.9772 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.3882, allocations: 397.7 kB / 0.9776 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/0.3923, allocations: 1.45 MB / 0.979 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/0.3936, allocations: 205.8 kB / 0.9792 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.3939, allocations: 88 kB / 0.9793 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.3979, allocations: 1.099 MB / 0.9804 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.3979, allocations: 4 kB / 0.9804 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.3981, allocations: 36 kB / 0.9804 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.3982, allocations: 20 kB / 0.9804 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.4026, allocations: 0.9407 MB / 0.9814 GB, free: 12.69 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.0118/0.4145, allocations: 5.142 MB / 0.9864 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.4184, allocations: 0.698 MB / 0.9871 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004037/0.4224, allocations: 1.828 MB / 0.9889 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/0.4245, allocations: 477.4 kB / 0.9893 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006168/0.4252, allocations: 75.41 kB / 0.9894 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 3.005e-06/0.4252, allocations: 0 / 0.9894 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.00581/0.431, allocations: 1.249 MB / 0.9906 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.4311, allocations: 89.06 kB / 0.9907 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.4339, allocations: 1.324 MB / 0.992 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.4342, allocations: 41.7 kB / 0.992 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008753/0.435, allocations: 0.657 MB / 0.9927 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.4353, allocations: 149.8 kB / 0.9928 GB, free: 404 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.4354, allocations: 15.98 kB / 0.9928 GB, free: 388 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4355, allocations: 330 kB / 0.9931 GB, free: 52 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.4374, allocations: 357.1 kB / 0.9935 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.4395, allocations: 0.6117 MB / 0.9941 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.4415, allocations: 434.2 kB / 0.9945 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4415, allocations: 0 / 0.9945 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004815/0.4463, allocations: 1.132 MB / 0.9956 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/0.4476, allocations: 2.699 MB / 0.9982 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.4477, allocations: 11.95 kB / 0.9982 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.4477, allocations: 12 kB / 0.9983 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4493, allocations: 203.7 kB / 0.9984 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.4494, allocations: 11.98 kB / 0.9985 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.4513, allocations: 120.5 kB / 0.9986 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.4515, allocations: 39.97 kB / 0.9986 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4515, allocations: 4 kB / 0.9986 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003792/0.4553, allocations: 0.9503 MB / 0.9995 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4553, allocations: 8.625 kB / 0.9995 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4554, allocations: 12 kB / 0.9996 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4567, allocations: 191.7 kB / 0.9997 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.4567, allocations: 8 kB / 0.9998 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4584, allocations: 112.5 kB / 0.9999 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4585, allocations: 32 kB / 0.9999 GB, free: 8.836 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001075/0.4596, allocations: 0.4913 MB / 1 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.46, allocations: 134.3 kB / 1 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00464/0.4646, allocations: 1.078 MB / 1.002 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.4647, allocations: 8 kB / 1.002 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4647, allocations: 0 / 1.002 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4647, allocations: 7.922 kB / 1.002 GB, free: 7.098 MB / 0.6511 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.007103/0.4718, allocations: 2.251 MB / 1.004 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4719, allocations: 7.984 kB / 1.004 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.4731, allocations: 135.9 kB / 1.004 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.4731, allocations: 4 kB / 1.004 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/0.4732, allocations: 27.94 kB / 1.004 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.4732, allocations: 4 kB / 1.004 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4732, allocations: 0 / 1.004 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/0.4776, allocations: 1.142 MB / 1.005 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/0.4786, allocations: 331.2 kB / 1.005 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.4789, allocations: 8 kB / 1.005 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.4808, allocations: 127.9 kB / 1.005 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.481, allocations: 39.69 kB / 1.006 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4811, allocations: 31.95 kB / 1.006 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002197/0.4833, allocations: 0.9184 MB / 1.006 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4834, allocations: 0 / 1.006 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003048/0.4864, allocations: 0.6861 MB / 1.007 GB, free: 1.219 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001456/0.4879, allocations: 459.6 kB / 1.008 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006246/0.4942, allocations: 1.469 MB / 1.009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.4942, allocations: 4 kB / 1.009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.4964, allocations: 489 kB / 1.009 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/0.5014, allocations: 0.6173 MB / 1.01 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.5095, allocations: 2.781 MB / 1.013 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.5107, allocations: 1.233 MB / 1.014 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00231/0.5131, allocations: 305.3 kB / 1.014 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.5136, allocations: 111.4 kB / 1.014 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of SimCode: time 1.443e-06/0.5136, allocations: 0 / 1.014 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of Templates: time 0.09448/0.6081, allocations: 26.65 MB / 1.04 GB, free: 15.3 MB / 0.698 GB