Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 252.6 MB / 265.2 MB, free: 5.574 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.00147/0.001469, allocations: 193 kB / 324.5 MB, free: 14.33 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.031/2.031, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001189/0.001189, allocations: 97.09 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.893e-05, allocations: 11.94 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2001, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.303, allocations: 2.484 GB / 3.379 GB, free: 167 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/8.303, allocations: 87.83 kB / 3.379 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.7/19, allocations: 2.003 GB / 5.382 GB, free: 95.51 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.473e-06/19, allocations: 0 / 5.382 GB, free: 95.51 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001155/19, allocations: 137.8 kB / 5.383 GB, free: 95.49 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02297/19.03, allocations: 5.182 MB / 5.388 GB, free: 93.55 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/19.03, allocations: 9.5 kB / 5.388 GB, free: 93.55 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/19.04, allocations: 1.242 MB / 5.389 GB, free: 93.23 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02416/19.06, allocations: 6.708 MB / 5.395 GB, free: 92.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/19.06, allocations: 304.1 kB / 5.396 GB, free: 92.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/19.07, allocations: 419.5 kB / 5.396 GB, free: 92.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/19.08, allocations: 5.544 MB / 5.402 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/19.08, allocations: 13.31 kB / 5.402 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009648/19.08, allocations: 170.5 kB / 5.402 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/19.09, allocations: 185.7 kB / 5.402 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/19.1, allocations: 4.851 MB / 5.407 GB, free: 92.02 MB / 0.9167 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.05492/19.16, allocations: 24.03 MB / 5.43 GB, free: 82.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00811/19.16, allocations: 3.632 MB / 5.434 GB, free: 82.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004938/19.17, allocations: 2.108 MB / 5.436 GB, free: 82.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/19.17, allocations: 1.003 MB / 5.437 GB, free: 81.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004999/19.18, allocations: 1.854 MB / 5.438 GB, free: 81.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 9.047e-06/19.18, allocations: 0 / 5.438 GB, free: 81.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.02787/19.2, allocations: 8.187 MB / 5.446 GB, free: 79.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/19.2, allocations: 139.2 kB / 5.447 GB, free: 79.44 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/19.21, allocations: 3.894 MB / 5.45 GB, free: 79.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008882/19.21, allocations: 85.33 kB / 5.45 GB, free: 79.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003402/19.22, allocations: 2.228 MB / 5.453 GB, free: 78.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/19.22, allocations: 0.954 MB / 5.454 GB, free: 77.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/19.22, allocations: 56.69 kB / 5.454 GB, free: 77.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002396/19.22, allocations: 418.1 kB / 5.454 GB, free: 77.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/19.22, allocations: 1.434 MB / 5.455 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/19.23, allocations: 2.183 MB / 5.458 GB, free: 76.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/19.23, allocations: 1.922 MB / 5.459 GB, free: 76.61 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/19.23, allocations: 3.906 kB / 5.459 GB, free: 76.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01208/19.25, allocations: 4.23 MB / 5.464 GB, free: 76.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001136/19.25, allocations: 5.203 MB / 5.469 GB, free: 70.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/19.25, allocations: 11.06 kB / 5.469 GB, free: 70.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/19.25, allocations: 126.4 kB / 5.469 GB, free: 70.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/19.25, allocations: 0.6213 MB / 5.469 GB, free: 70.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/19.26, allocations: 2.736 MB / 5.472 GB, free: 68.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009236/19.27, allocations: 0.4958 MB / 5.473 GB, free: 68.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008863/19.27, allocations: 117.3 kB / 5.473 GB, free: 68.92 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/19.27, allocations: 4.719 kB / 5.473 GB, free: 68.92 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01059/19.28, allocations: 3.88 MB / 5.476 GB, free: 67.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/19.28, allocations: 14.34 kB / 5.476 GB, free: 67.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/19.28, allocations: 129.6 kB / 5.477 GB, free: 67.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/19.28, allocations: 0.6064 MB / 5.477 GB, free: 67.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/19.29, allocations: 2.127 MB / 5.479 GB, free: 66.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008886/19.3, allocations: 0.4918 MB / 5.48 GB, free: 66.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008764/19.3, allocations: 116 kB / 5.48 GB, free: 66.09 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (336): * Single equations (assignments): 332 * 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.001113/19.3, allocations: 347.8 kB / 5.48 GB, free: 65.83 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/19.3, allocations: 433.6 kB / 5.481 GB, free: 65.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/19.31, allocations: 4.057 MB / 5.485 GB, free: 64.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/19.31, allocations: 25.47 kB / 5.485 GB, free: 64.03 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/19.31, allocations: 5.156 kB / 5.485 GB, free: 64.03 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008669/19.32, allocations: 3.389 MB / 5.488 GB, free: 62.7 MB / 0.9167 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.02908/19.35, allocations: 10.25 MB / 5.498 GB, free: 58.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/19.35, allocations: 3.625 kB / 5.498 GB, free: 58.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00576/19.35, allocations: 0.6211 MB / 5.499 GB, free: 58.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/19.36, allocations: 113.9 kB / 5.499 GB, free: 58.31 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005635/19.36, allocations: 81.62 kB / 5.499 GB, free: 58.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/19.36, allocations: 2.719 MB / 5.501 GB, free: 55.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/19.36, allocations: 7.25 kB / 5.501 GB, free: 55.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/19.37, allocations: 6.707 MB / 5.508 GB, free: 52.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004871/19.38, allocations: 1.092 MB / 5.509 GB, free: 52.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/19.38, allocations: 72.83 kB / 5.509 GB, free: 52.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008073/19.39, allocations: 452.5 kB / 5.509 GB, free: 52.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008196/19.39, allocations: 172.5 kB / 5.51 GB, free: 51.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004569/19.39, allocations: 107.2 kB / 5.51 GB, free: 51.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007991/19.4, allocations: 3.072 MB / 5.513 GB, free: 50.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.22e-07/19.4, allocations: 0 / 5.513 GB, free: 50.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01594/19.41, allocations: 2.753 MB / 5.515 GB, free: 49.36 MB / 0.9167 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 (266): * Single equations (assignments): 258 * 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.006088/19.42, allocations: 2.803 MB / 5.518 GB, free: 47.28 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01484/19.44, allocations: 6.136 MB / 5.524 GB, free: 41.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/19.44, allocations: 6.875 kB / 5.524 GB, free: 41.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00454/19.44, allocations: 2.023 MB / 5.526 GB, free: 39.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02344/19.46, allocations: 2.785 MB / 5.529 GB, free: 37.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/19.49, allocations: 9.918 MB / 5.539 GB, free: 29.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006832/19.5, allocations: 4.069 MB / 5.543 GB, free: 26.21 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0207/19.52, allocations: 3.953 MB / 5.546 GB, free: 23.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/19.52, allocations: 258.4 kB / 5.547 GB, free: 23.59 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/19.52, allocations: 11.94 kB / 5.547 GB, free: 23.58 MB / 0.9167 GB Notification: Performance of Templates: time 1.066/20.58, allocations: 136.4 MB / 5.68 GB, free: 113.6 MB / 0.9323 GB