Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.171/2.171, 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.001522/0.001521, allocations: 197.8 kB / 325.6 MB, free: 2.836 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.217/2.217, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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.001138/0.001138, allocations: 94.42 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.0006211, allocations: 11.72 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2237, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.379/7.603, allocations: 2.492 GB / 3.391 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/7.604, allocations: 91.89 kB / 3.391 GB, free: 29.56 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.32/19.93, allocations: 2.361 GB / 5.752 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.755e-06/19.93, allocations: 0 / 5.752 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001316/19.93, allocations: 155 kB / 5.752 GB, free: 100 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.03306/19.96, allocations: 6.912 MB / 5.759 GB, free: 93.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/19.96, allocations: 8.562 kB / 5.759 GB, free: 93.06 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/19.97, allocations: 1.412 MB / 5.76 GB, free: 91.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02584/20, allocations: 7.116 MB / 5.767 GB, free: 84.46 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/20, allocations: 361.1 kB / 5.768 GB, free: 84.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/20, allocations: 483.4 kB / 5.768 GB, free: 83.64 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/20.03, allocations: 6.465 MB / 5.774 GB, free: 77.05 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/20.03, allocations: 19.8 kB / 5.774 GB, free: 77.03 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/20.03, allocations: 192 kB / 5.775 GB, free: 76.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002904/20.03, allocations: 213.1 kB / 5.775 GB, free: 76.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/20.05, allocations: 5.727 MB / 5.78 GB, free: 70.89 MB / 0.9323 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.06255/20.11, allocations: 26.64 MB / 5.806 GB, free: 42.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/20.12, allocations: 3.857 MB / 5.81 GB, free: 39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/20.12, allocations: 1.01 MB / 5.811 GB, free: 37.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006813/20.13, allocations: 2.175 MB / 5.813 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 6.953e-06/20.13, allocations: 0 / 5.813 GB, free: 35.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.03986/20.17, allocations: 11.29 MB / 5.824 GB, free: 24.05 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/20.17, allocations: 145.2 kB / 5.824 GB, free: 23.88 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/20.18, allocations: 4.284 MB / 5.829 GB, free: 19.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/20.18, allocations: 89.7 kB / 5.829 GB, free: 19.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004069/20.19, allocations: 2.499 MB / 5.831 GB, free: 16.98 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002061/20.19, allocations: 1.078 MB / 5.832 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/20.19, allocations: 68 kB / 5.832 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003228/20.19, allocations: 432.5 kB / 5.833 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004883/20.19, allocations: 1.72 MB / 5.834 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005869/20.2, allocations: 2.512 MB / 5.837 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/20.21, allocations: 2.242 MB / 5.839 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/20.21, allocations: 4 kB / 5.839 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01501/20.22, allocations: 4.905 MB / 5.844 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.7604/20.98, allocations: 5.675 MB / 5.849 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/20.98, allocations: 14.81 kB / 5.849 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/20.98, allocations: 130.2 kB / 5.849 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/20.99, allocations: 0.7058 MB / 5.85 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/20.99, allocations: 2.784 MB / 5.853 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/21, allocations: 0.5409 MB / 5.853 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/21, allocations: 131.9 kB / 5.854 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/21, allocations: 2.25 kB / 5.854 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01529/21.02, allocations: 4.527 MB / 5.858 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-05/21.02, allocations: 12.61 kB / 5.858 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/21.02, allocations: 129.5 kB / 5.858 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/21.03, allocations: 0.703 MB / 5.859 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/21.03, allocations: 2.184 MB / 5.861 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/21.04, allocations: 0.5352 MB / 5.861 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/21.04, allocations: 123.5 kB / 5.862 GB, free: 107.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00862/21.05, allocations: 2.413 MB / 5.864 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00222/21.05, allocations: 465.7 kB / 5.864 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/21.07, allocations: 4.759 MB / 5.869 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/21.07, allocations: 29.84 kB / 5.869 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/21.07, allocations: 2.125 kB / 5.869 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01189/21.08, allocations: 3.995 MB / 5.873 GB, free: 106.4 MB / 0.9323 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.03538/21.12, allocations: 11.72 MB / 5.884 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/21.12, allocations: 3.406 kB / 5.884 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006691/21.12, allocations: 0.7139 MB / 5.885 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006023/21.12, allocations: 113.7 kB / 5.885 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008386/21.13, allocations: 88.67 kB / 5.885 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/21.13, allocations: 2.77 MB / 5.888 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/21.13, allocations: 6.594 kB / 5.888 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/21.15, allocations: 7.831 MB / 5.896 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005581/21.15, allocations: 1.196 MB / 5.897 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/21.16, allocations: 79.69 kB / 5.897 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008859/21.17, allocations: 498.5 kB / 5.897 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/21.17, allocations: 191.2 kB / 5.898 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006097/21.17, allocations: 116.8 kB / 5.898 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01058/21.18, allocations: 3.386 MB / 5.901 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.71e-07/21.18, allocations: 0 / 5.901 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01959/21.2, allocations: 2.947 MB / 5.904 GB, free: 102.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00647/21.2, allocations: 2.869 MB / 5.907 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0185/21.22, allocations: 6.988 MB / 5.913 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/21.22, allocations: 3.938 kB / 5.913 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/21.23, allocations: 2.345 MB / 5.916 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02476/21.25, allocations: 2.924 MB / 5.919 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/21.29, allocations: 14.91 MB / 5.933 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009264/21.3, allocations: 4.507 MB / 5.938 GB, free: 94.27 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01568/21.32, allocations: 2.639 MB / 5.94 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002774/21.32, allocations: 356.4 kB / 5.94 GB, free: 94.21 MB / 0.9323 GB Notification: Performance of SimCode: time 1.663e-06/21.32, allocations: 0 / 5.94 GB, free: 94.21 MB / 0.9323 GB Notification: Performance of Templates: time 0.3053/21.62, allocations: 130 MB / 6.067 GB, free: 83.96 MB / 0.9323 GB