Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004127/0.004128, allocations: 102.9 kB / 15.73 MB, free: 6.477 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.001018/0.001018, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.179/1.179, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.343/1.343, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001406/0.001406, allocations: 79.88 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1654, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02776/0.1932, allocations: 35.26 MB / 0.8625 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008275/0.2015, allocations: 6.799 MB / 0.8691 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007114/0.2022, allocations: 47.69 kB / 0.8691 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.2033, allocations: 0.489 MB / 0.8696 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.2058, allocations: 1.337 MB / 0.8709 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.2078, allocations: 1.043 MB / 0.8719 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.2099, allocations: 2.247 MB / 0.8741 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.2107, allocations: 0.7725 MB / 0.8749 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.2121, allocations: 1.039 MB / 0.8759 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.2127, allocations: 0.6533 MB / 0.8766 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.2128, allocations: 88 kB / 0.8766 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.2142, allocations: 0.9709 MB / 0.8776 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2144, allocations: 211.2 kB / 0.8778 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2148, allocations: 0.5247 MB / 0.8783 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2164, allocations: 1.694 MB / 0.88 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2164, allocations: 0 / 0.88 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2164, allocations: 0 / 0.88 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2164, allocations: 0 / 0.88 GB, free: 10.88 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001865/0.2183, allocations: 1.358 MB / 0.8813 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.2183, allocations: 8.031 kB / 0.8813 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.2206, allocations: 439.1 kB / 0.8817 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2218, allocations: 0.9394 MB / 0.8826 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2218, allocations: 45.31 kB / 0.8827 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.2219, allocations: 60 kB / 0.8827 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.2235, allocations: 0.8357 MB / 0.8835 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2235, allocations: 0 / 0.8835 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.2236, allocations: 20 kB / 0.8836 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2236, allocations: 16 kB / 0.8836 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.2255, allocations: 0.7778 MB / 0.8843 GB, free: 6.242 MB / 0.7012 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.004731/0.2302, allocations: 4.648 MB / 0.8889 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.2334, allocations: 0.8336 MB / 0.8897 GB, free: 356 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.2343, allocations: 360.8 kB / 0.89 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007383/0.235, allocations: 0.9336 MB / 0.8909 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2351, allocations: 46.48 kB / 0.891 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2351, allocations: 0 / 0.891 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.002832/0.2379, allocations: 1.02 MB / 0.892 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.238, allocations: 55.41 kB / 0.892 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.2387, allocations: 0.7316 MB / 0.8927 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.2388, allocations: 33.7 kB / 0.8928 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.2391, allocations: 451.9 kB / 0.8932 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.2392, allocations: 122.2 kB / 0.8933 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2394, allocations: 106.1 kB / 0.8934 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.2395, allocations: 318 kB / 0.8937 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008922/0.2404, allocations: 334.8 kB / 0.8941 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2414, allocations: 0.4996 MB / 0.8945 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.2432, allocations: 0.7374 MB / 0.8953 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2432, allocations: 0 / 0.8953 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00203/0.2452, allocations: 0.8586 MB / 0.8961 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2452, allocations: 11.22 kB / 0.8961 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2452, allocations: 11.92 kB / 0.8961 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2453, allocations: 12 kB / 0.8961 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.2461, allocations: 179.7 kB / 0.8963 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2461, allocations: 7.984 kB / 0.8963 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.2468, allocations: 119.4 kB / 0.8964 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.2468, allocations: 27.97 kB / 0.8965 GB, free: 9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001023/0.2479, allocations: 0.4893 MB / 0.8969 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009536/0.2488, allocations: 0.5052 MB / 0.8974 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/0.2505, allocations: 0.7224 MB / 0.8981 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.2505, allocations: 3.938 kB / 0.8981 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001958/0.2525, allocations: 0.8549 MB / 0.899 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.2525, allocations: 7.984 kB / 0.899 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2525, allocations: 7.984 kB / 0.899 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.2525, allocations: 11.94 kB / 0.899 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.2533, allocations: 180.1 kB / 0.8992 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2533, allocations: 15.92 kB / 0.8992 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.254, allocations: 107.6 kB / 0.8993 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.2541, allocations: 27.98 kB / 0.8993 GB, free: 5.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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 0.0001327/0.2542, allocations: 212.1 kB / 0.8995 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2543, allocations: 86.97 kB / 0.8996 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.2565, allocations: 0.9366 MB / 0.9005 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.2566, allocations: 7.984 kB / 0.9005 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2566, allocations: 0 / 0.9005 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2566, allocations: 0 / 0.9005 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.2598, allocations: 1.832 MB / 0.9023 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2598, allocations: 0 / 0.9023 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.2605, allocations: 143.9 kB / 0.9024 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2605, allocations: 4 kB / 0.9024 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.2606, allocations: 16.17 kB / 0.9025 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2606, allocations: 7.984 kB / 0.9025 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2606, allocations: 3.938 kB / 0.9025 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.2635, allocations: 1.385 MB / 0.9038 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.2638, allocations: 227.9 kB / 0.904 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.2639, allocations: 8 kB / 0.9041 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.2645, allocations: 75.97 kB / 0.9041 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.2645, allocations: 27.95 kB / 0.9042 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.2646, allocations: 19.98 kB / 0.9042 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000503/0.2651, allocations: 0.499 MB / 0.9047 GB, free: 340 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.182e-06/0.2651, allocations: 4 kB / 0.9047 GB, free: 336 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009724/0.2661, allocations: 435 kB / 0.9051 GB, free: 15.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005137/0.2666, allocations: 318 kB / 0.9054 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.2695, allocations: 1.171 MB / 0.9065 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2695, allocations: 0 / 0.9065 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009535/0.2704, allocations: 408.4 kB / 0.9069 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2716, allocations: 350.5 kB / 0.9072 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.2767, allocations: 1.905 MB / 0.9091 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.2771, allocations: 0.9621 MB / 0.91 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.2778, allocations: 210.9 kB / 0.9102 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.278, allocations: 83.39 kB / 0.9103 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.278, allocations: 0 / 0.9103 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.3328/0.6108, allocations: 16.28 MB / 0.9262 GB, free: 87.29 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)