Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.613/4.613, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002364/0.002363, allocations: 357.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.705/3.705, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001696/0.001695, allocations: 191.1 kB / 1.225 GB, free: 35.87 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.6255/0.7748, allocations: 79.59 MB / 1.538 GB, free: 23.28 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.2076/0.9825, allocations: 151.8 MB / 1.687 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.9856, allocations: 79.5 kB / 1.687 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.989, allocations: 0.916 MB / 1.688 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.9998, allocations: 2.927 MB / 1.691 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0125/1.012, allocations: 3.439 MB / 1.694 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.023, allocations: 6.853 MB / 1.701 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003771/1.027, allocations: 1.963 MB / 1.703 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/1.03, allocations: 1.75 MB / 1.704 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/1.033, allocations: 1.602 MB / 1.706 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000355/1.033, allocations: 91.83 kB / 1.706 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/1.037, allocations: 1.333 MB / 1.707 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007993/1.038, allocations: 0.5602 MB / 1.708 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0008854/1.039, allocations: 0.5471 MB / 1.708 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/1.044, allocations: 3.508 MB / 1.712 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.044, allocations: 0 / 1.712 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.393e-06/1.044, allocations: 0 / 1.712 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.7e-05/1.044, allocations: 0 / 1.712 GB, free: 9.371 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.006287/1.051, allocations: 2.892 MB / 1.715 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.051, allocations: 8.562 kB / 1.715 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/1.053, allocations: 496 kB / 1.715 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/1.058, allocations: 2.124 MB / 1.717 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/1.059, allocations: 151.8 kB / 1.717 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/1.059, allocations: 196 kB / 1.717 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004879/1.064, allocations: 2.123 MB / 1.719 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/1.064, allocations: 5.969 kB / 1.719 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/1.064, allocations: 91.95 kB / 1.72 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.239e-05/1.064, allocations: 52 kB / 1.72 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/1.069, allocations: 2.008 MB / 1.722 GB, free: 15 MB / 0.7917 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.01589/1.085, allocations: 8.314 MB / 1.73 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/1.089, allocations: 1.324 MB / 1.731 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/1.091, allocations: 0.6174 MB / 1.732 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00703/1.098, allocations: 3.139 MB / 1.735 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/1.1, allocations: 0.7667 MB / 1.735 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000764/1.1, allocations: 138.6 kB / 1.736 GB, free: 188 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=127): time 4.484e-06/1.1, allocations: 0 / 1.736 GB, free: 188 kB / 0.7917 GB Notification: Performance of matching and sorting (n=127): time 0.006126/1.106, allocations: 1.934 MB / 1.737 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/1.107, allocations: 282.3 kB / 1.738 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/1.11, allocations: 1.905 MB / 1.74 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.111, allocations: 57.64 kB / 1.74 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.112, allocations: 1.097 MB / 1.741 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/1.112, allocations: 445.6 kB / 1.741 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.113, allocations: 28 kB / 1.741 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.113, allocations: 369.9 kB / 1.741 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.114, allocations: 0.531 MB / 1.742 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.116, allocations: 0.9749 MB / 1.743 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/1.118, allocations: 0.6622 MB / 1.744 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/1.118, allocations: 0 / 1.744 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005253/1.123, allocations: 1.827 MB / 1.745 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003423/1.124, allocations: 392.1 kB / 1.746 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/1.124, allocations: 12 kB / 1.746 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/1.125, allocations: 100.8 kB / 1.746 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.127, allocations: 363.5 kB / 1.746 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.129, allocations: 1.537 MB / 1.748 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.131, allocations: 156.4 kB / 1.748 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/1.132, allocations: 79.95 kB / 1.748 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.132, allocations: 6.969 kB / 1.748 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004249/1.136, allocations: 1.547 MB / 1.749 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/1.136, allocations: 16.08 kB / 1.749 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/1.137, allocations: 100.8 kB / 1.75 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.138, allocations: 363.4 kB / 1.75 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/1.141, allocations: 1.539 MB / 1.751 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.143, allocations: 153.7 kB / 1.752 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.143, allocations: 87.91 kB / 1.752 GB, free: 14.93 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001451/1.145, allocations: 0.6065 MB / 1.752 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/1.145, allocations: 225.2 kB / 1.752 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.151, allocations: 1.823 MB / 1.754 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.151, allocations: 12 kB / 1.754 GB, free: 12.26 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-06/1.151, allocations: 4 kB / 1.754 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00386/1.155, allocations: 1.514 MB / 1.756 GB, free: 10.67 MB / 0.823 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.008801/1.164, allocations: 3.76 MB / 1.759 GB, free: 6.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.164, allocations: 4 kB / 1.759 GB, free: 6.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.165, allocations: 279.5 kB / 1.76 GB, free: 6.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/1.166, allocations: 88.89 kB / 1.76 GB, free: 6.453 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.166, allocations: 39.97 kB / 1.76 GB, free: 6.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/1.168, allocations: 1.544 MB / 1.761 GB, free: 4.73 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.36e-06/1.168, allocations: 144 / 1.761 GB, free: 4.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/1.175, allocations: 2.404 MB / 1.764 GB, free: 2.289 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.176, allocations: 0.494 MB / 1.764 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.176, allocations: 32 kB / 1.764 GB, free: 1.742 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.178, allocations: 151.8 kB / 1.764 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.178, allocations: 105.1 kB / 1.764 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.178, allocations: 67.95 kB / 1.764 GB, free: 1.426 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002469/1.181, allocations: 1.278 MB / 1.766 GB, free: 136 kB / 0.823 GB Notification: Performance of sort global known variables: time 8.36e-07/1.181, allocations: 0 / 1.766 GB, free: 136 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.004193/1.185, allocations: 1.333 MB / 1.767 GB, free: 14.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/1.188, allocations: 0.9675 MB / 1.768 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006393/1.195, allocations: 2.515 MB / 1.77 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.449e-06/1.195, allocations: 4 kB / 1.77 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.197, allocations: 0.8264 MB / 1.771 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/1.203, allocations: 1.071 MB / 1.772 GB, free: 9.562 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.213, allocations: 5.325 MB / 1.777 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.215, allocations: 1.713 MB / 1.779 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003853/1.219, allocations: 0.7107 MB / 1.78 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/1.22, allocations: 219.3 kB / 1.78 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of SimCode: time 1.489e-06/1.22, allocations: 0 / 1.78 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of Templates: time 0.106/1.326, allocations: 45.3 MB / 1.824 GB, free: 4.832 MB / 0.8855 GB