Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.85/4.85, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 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.00253/0.00253, allocations: 359.1 kB / 0.6446 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 4.542/4.542, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001807/0.001807, allocations: 179.9 kB / 1.226 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 16 kB / 1.349 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7459, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.895/7.641, allocations: 2.375 GB / 3.837 GB, free: 27.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/7.642, allocations: 98.84 kB / 3.837 GB, free: 27.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.03/20.67, allocations: 2.393 GB / 6.229 GB, free: 99.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.585e-06/20.67, allocations: 0 / 6.229 GB, free: 99.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001303/20.67, allocations: 140.8 kB / 6.23 GB, free: 99.56 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.03281/20.71, allocations: 6.906 MB / 6.236 GB, free: 97.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/20.71, allocations: 15.16 kB / 6.236 GB, free: 97.06 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/20.72, allocations: 1.401 MB / 6.238 GB, free: 96.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02396/20.75, allocations: 6.919 MB / 6.244 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004792/20.75, allocations: 356.3 kB / 6.245 GB, free: 95.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/20.75, allocations: 481.7 kB / 6.245 GB, free: 95.81 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/20.77, allocations: 6.469 MB / 6.252 GB, free: 95.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/20.77, allocations: 5.969 kB / 6.252 GB, free: 95.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/20.77, allocations: 191.3 kB / 6.252 GB, free: 95.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/20.77, allocations: 215.7 kB / 6.252 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/20.79, allocations: 5.711 MB / 6.258 GB, free: 95.35 MB / 0.9948 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.06249/20.86, allocations: 26.52 MB / 6.283 GB, free: 85.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/20.87, allocations: 4.059 MB / 6.287 GB, free: 85.43 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00608/20.87, allocations: 2.466 MB / 6.29 GB, free: 85.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/20.87, allocations: 1.007 MB / 6.291 GB, free: 84.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00629/20.88, allocations: 2.188 MB / 6.293 GB, free: 84.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 6.713e-06/20.88, allocations: 0 / 6.293 GB, free: 84.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.038/20.92, allocations: 11.18 MB / 6.304 GB, free: 82.44 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/20.92, allocations: 138.3 kB / 6.304 GB, free: 82.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/20.93, allocations: 4.595 MB / 6.308 GB, free: 81.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/20.93, allocations: 92.77 kB / 6.309 GB, free: 81.49 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004127/20.94, allocations: 2.489 MB / 6.311 GB, free: 79.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/20.94, allocations: 1.082 MB / 6.312 GB, free: 78.78 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/20.94, allocations: 58.19 kB / 6.312 GB, free: 78.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003099/20.94, allocations: 434.3 kB / 6.312 GB, free: 78.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/20.94, allocations: 1.725 MB / 6.314 GB, free: 77.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0058/20.95, allocations: 2.541 MB / 6.317 GB, free: 76.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/20.96, allocations: 2.25 MB / 6.319 GB, free: 75.36 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/20.96, allocations: 3.812 kB / 6.319 GB, free: 75.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01472/20.97, allocations: 4.926 MB / 6.324 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003424/20.97, allocations: 0.5325 MB / 6.324 GB, free: 72.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/20.97, allocations: 11.16 kB / 6.324 GB, free: 72.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/20.97, allocations: 132.5 kB / 6.324 GB, free: 72.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006644/20.98, allocations: 0.7243 MB / 6.325 GB, free: 72.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/20.98, allocations: 2.745 MB / 6.328 GB, free: 70.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009857/20.99, allocations: 0.5361 MB / 6.328 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009838/20.99, allocations: 131.3 kB / 6.328 GB, free: 70.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/20.99, allocations: 9.547 kB / 6.328 GB, free: 70.32 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/21, allocations: 4.552 MB / 6.333 GB, free: 68.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.446e-05/21, allocations: 10.97 kB / 6.333 GB, free: 68.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/21, allocations: 132.3 kB / 6.333 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006499/21.01, allocations: 0.7073 MB / 6.334 GB, free: 68.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/21.01, allocations: 2.139 MB / 6.336 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009542/21.02, allocations: 0.5297 MB / 6.336 GB, free: 66.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/21.03, allocations: 129.1 kB / 6.336 GB, free: 66.75 MB / 0.9948 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.006862/21.03, allocations: 2.385 MB / 6.339 GB, free: 65.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/21.03, allocations: 465.4 kB / 6.339 GB, free: 65.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/21.05, allocations: 4.787 MB / 6.344 GB, free: 63.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/21.05, allocations: 29.38 kB / 6.344 GB, free: 63.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/21.05, allocations: 6.156 kB / 6.344 GB, free: 63.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01117/21.06, allocations: 4.013 MB / 6.348 GB, free: 61.83 MB / 0.9948 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.0343/21.09, allocations: 11.83 MB / 6.359 GB, free: 55.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/21.09, allocations: 4 kB / 6.359 GB, free: 55.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006659/21.1, allocations: 0.7168 MB / 6.36 GB, free: 54.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/21.1, allocations: 114.8 kB / 6.36 GB, free: 54.51 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007835/21.1, allocations: 97.14 kB / 6.36 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/21.11, allocations: 2.724 MB / 6.363 GB, free: 51.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/21.11, allocations: 4 kB / 6.363 GB, free: 51.72 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/21.12, allocations: 7.408 MB / 6.37 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004891/21.13, allocations: 1.145 MB / 6.371 GB, free: 44.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/21.13, allocations: 82.84 kB / 6.371 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008282/21.14, allocations: 485.5 kB / 6.372 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009527/21.14, allocations: 198 kB / 6.372 GB, free: 43.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006443/21.14, allocations: 116.8 kB / 6.372 GB, free: 43.48 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009092/21.15, allocations: 3.252 MB / 6.375 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.21e-07/21.15, allocations: 2.25 kB / 6.375 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0175/21.17, allocations: 2.924 MB / 6.378 GB, free: 37.93 MB / 0.9948 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.006145/21.17, allocations: 2.856 MB / 6.381 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01816/21.19, allocations: 7.031 MB / 6.388 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/21.19, allocations: 4 kB / 6.388 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005725/21.2, allocations: 2.354 MB / 6.39 GB, free: 27.51 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02726/21.23, allocations: 2.977 MB / 6.393 GB, free: 25.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/21.26, allocations: 14.85 MB / 6.407 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008722/21.27, allocations: 4.475 MB / 6.412 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01499/21.28, allocations: 2.637 MB / 6.414 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/21.29, allocations: 362 kB / 6.415 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of SimCode: time 1.322e-06/21.29, allocations: 0 / 6.415 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of Templates: time 1.166/22.45, allocations: 129.4 MB / 6.541 GB, free: 119.2 MB / 1.01 GB