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.269/2.269, allocations: 252.6 MB / 265.2 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 187.7 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001052/0.001052, allocations: 94.69 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.683e-05, allocations: 11.97 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.073/8.294, allocations: 2.492 GB / 3.387 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/8.294, allocations: 91.58 kB / 3.387 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.52/20.82, allocations: 2.357 GB / 5.744 GB, free: 85.13 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.905e-06/20.82, allocations: 0 / 5.744 GB, free: 85.13 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001237/20.82, allocations: 152.6 kB / 5.744 GB, free: 85.11 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.02537/20.84, allocations: 5.728 MB / 5.75 GB, free: 83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/20.84, allocations: 8.438 kB / 5.75 GB, free: 83 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/20.86, allocations: 1.399 MB / 5.751 GB, free: 82.65 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0262/20.88, allocations: 7.076 MB / 5.758 GB, free: 81.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/20.88, allocations: 359.3 kB / 5.759 GB, free: 81.77 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/20.89, allocations: 485.8 kB / 5.759 GB, free: 81.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/20.91, allocations: 6.382 MB / 5.765 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/20.91, allocations: 8.562 kB / 5.765 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/20.91, allocations: 191.7 kB / 5.765 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/20.91, allocations: 216 kB / 5.766 GB, free: 81.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/20.93, allocations: 5.607 MB / 5.771 GB, free: 81.3 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.06276/20.99, allocations: 26.65 MB / 5.797 GB, free: 71.81 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008895/21, allocations: 3.807 MB / 5.801 GB, free: 71.55 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005914/21.01, allocations: 2.429 MB / 5.803 GB, free: 71.52 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/21.01, allocations: 1.008 MB / 5.804 GB, free: 70.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006141/21.02, allocations: 2.145 MB / 5.806 GB, free: 70.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.915e-06/21.02, allocations: 0 / 5.806 GB, free: 70.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.03364/21.05, allocations: 9.452 MB / 5.816 GB, free: 68.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/21.05, allocations: 136.6 kB / 5.816 GB, free: 68.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/21.06, allocations: 4.229 MB / 5.82 GB, free: 68.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/21.06, allocations: 96.45 kB / 5.82 GB, free: 68.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003981/21.07, allocations: 2.509 MB / 5.822 GB, free: 67.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/21.07, allocations: 1.077 MB / 5.823 GB, free: 66.56 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/21.07, allocations: 64.41 kB / 5.824 GB, free: 66.56 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003111/21.07, allocations: 441.3 kB / 5.824 GB, free: 66.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004528/21.07, allocations: 1.676 MB / 5.826 GB, free: 66.24 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/21.08, allocations: 2.474 MB / 5.828 GB, free: 65.49 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/21.09, allocations: 2.214 MB / 5.83 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-05/21.09, allocations: 6.609 kB / 5.83 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01436/21.1, allocations: 4.832 MB / 5.835 GB, free: 64.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/21.1, allocations: 5.683 MB / 5.84 GB, free: 59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-05/21.1, allocations: 12.66 kB / 5.84 GB, free: 59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/21.1, allocations: 127 kB / 5.841 GB, free: 59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/21.11, allocations: 0.7066 MB / 5.841 GB, free: 59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/21.11, allocations: 2.743 MB / 5.844 GB, free: 57.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009829/21.12, allocations: 0.548 MB / 5.844 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/21.12, allocations: 131.4 kB / 5.845 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/21.12, allocations: 0.625 kB / 5.845 GB, free: 57.04 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/21.14, allocations: 4.461 MB / 5.849 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/21.14, allocations: 16.19 kB / 5.849 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/21.14, allocations: 130.4 kB / 5.849 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/21.14, allocations: 0.7036 MB / 5.85 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004222/21.15, allocations: 2.137 MB / 5.852 GB, free: 55.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/21.16, allocations: 0.5352 MB / 5.852 GB, free: 55.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/21.16, allocations: 129.4 kB / 5.853 GB, free: 55.48 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 () * 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.002411/21.17, allocations: 352.9 kB / 5.853 GB, free: 55.31 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002818/21.17, allocations: 465.4 kB / 5.853 GB, free: 55.08 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/21.19, allocations: 4.705 MB / 5.858 GB, free: 54.65 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-05/21.19, allocations: 34.47 kB / 5.858 GB, free: 54.65 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/21.19, allocations: 2.938 kB / 5.858 GB, free: 54.65 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01245/21.2, allocations: 3.93 MB / 5.862 GB, free: 53.12 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.03324/21.24, allocations: 11.66 MB / 5.873 GB, free: 48.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/21.24, allocations: 11.02 kB / 5.873 GB, free: 48.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006665/21.24, allocations: 0.7133 MB / 5.874 GB, free: 48.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/21.24, allocations: 109.7 kB / 5.874 GB, free: 48.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007558/21.24, allocations: 85.78 kB / 5.874 GB, free: 48.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/21.25, allocations: 2.729 MB / 5.877 GB, free: 45.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/21.25, allocations: 8.656 kB / 5.877 GB, free: 45.81 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/21.27, allocations: 7.739 MB / 5.884 GB, free: 42.14 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005771/21.27, allocations: 1.192 MB / 5.885 GB, free: 41.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002253/21.27, allocations: 84.31 kB / 5.885 GB, free: 41.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008817/21.28, allocations: 492.9 kB / 5.886 GB, free: 41.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/21.28, allocations: 198.8 kB / 5.886 GB, free: 41.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006585/21.29, allocations: 116.4 kB / 5.886 GB, free: 41.31 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009743/21.29, allocations: 3.332 MB / 5.89 GB, free: 40.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.82e-07/21.29, allocations: 0 / 5.89 GB, free: 40.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01805/21.31, allocations: 2.95 MB / 5.892 GB, free: 39.75 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) * 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.006576/21.32, allocations: 2.863 MB / 5.895 GB, free: 38.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01833/21.34, allocations: 7.031 MB / 5.902 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/21.34, allocations: 0 / 5.902 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006009/21.34, allocations: 2.318 MB / 5.904 GB, free: 30.87 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02455/21.37, allocations: 2.926 MB / 5.907 GB, free: 28.93 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/21.4, allocations: 11.07 MB / 5.918 GB, free: 19.55 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009538/21.41, allocations: 4.507 MB / 5.922 GB, free: 32.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0242/21.44, allocations: 4.358 MB / 5.927 GB, free: 29.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/21.44, allocations: 277.1 kB / 5.927 GB, free: 29.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.685e-06/21.44, allocations: 0 / 5.927 GB, free: 29.2 MB / 0.948 GB Notification: Performance of Templates: time 1.093/22.53, allocations: 144 MB / 6.068 GB, free: 103.4 MB / 0.948 GB