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.087/2.087, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001514/0.001514, allocations: 180.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.341/2.341, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001125/0.001125, allocations: 83.86 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.000465, allocations: 12.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.383/7.589, allocations: 2.484 GB / 3.383 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/7.589, allocations: 94.77 kB / 3.383 GB, free: 35.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.49/18.08, allocations: 2.007 GB / 5.39 GB, free: 82.71 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/18.08, allocations: 7.938 kB / 5.39 GB, free: 82.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001217/18.08, allocations: 134.6 kB / 5.39 GB, free: 82.57 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.03019/18.11, allocations: 6.317 MB / 5.396 GB, free: 76.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/18.11, allocations: 12.56 kB / 5.396 GB, free: 76.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/18.13, allocations: 1.245 MB / 5.397 GB, free: 74.94 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/18.15, allocations: 6.74 MB / 5.404 GB, free: 68.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/18.15, allocations: 311.8 kB / 5.404 GB, free: 67.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/18.15, allocations: 411.9 kB / 5.405 GB, free: 67.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/18.17, allocations: 5.615 MB / 5.41 GB, free: 61.73 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/18.17, allocations: 11.84 kB / 5.41 GB, free: 61.72 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007955/18.17, allocations: 171.9 kB / 5.41 GB, free: 61.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/18.17, allocations: 187.8 kB / 5.411 GB, free: 61.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/18.18, allocations: 4.953 MB / 5.415 GB, free: 56.41 MB / 0.9167 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.04947/18.23, allocations: 24.01 MB / 5.439 GB, free: 31.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/18.24, allocations: 3.679 MB / 5.442 GB, free: 27.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/18.24, allocations: 1.002 MB / 5.443 GB, free: 26.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004723/18.25, allocations: 1.886 MB / 5.445 GB, free: 24.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 8.065e-06/18.25, allocations: 4 kB / 5.445 GB, free: 24.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.02985/18.28, allocations: 9.863 MB / 5.455 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/18.28, allocations: 136.9 kB / 5.455 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009439/18.29, allocations: 3.938 MB / 5.459 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000906/18.29, allocations: 81.7 kB / 5.459 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002967/18.29, allocations: 2.218 MB / 5.461 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/18.29, allocations: 0.9552 MB / 5.462 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/18.29, allocations: 52 kB / 5.462 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000215/18.29, allocations: 419.6 kB / 5.462 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/18.3, allocations: 1.461 MB / 5.464 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/18.3, allocations: 2.215 MB / 5.466 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/18.3, allocations: 1.949 MB / 5.468 GB, free: 288 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/18.3, allocations: 4 kB / 5.468 GB, free: 284 kB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.0132/18.32, allocations: 4.281 MB / 5.472 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002174/18.32, allocations: 5.21 MB / 5.477 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/18.32, allocations: 12 kB / 5.477 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000728/18.32, allocations: 124.8 kB / 5.477 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/18.33, allocations: 0.6124 MB / 5.478 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/18.33, allocations: 2.776 MB / 5.481 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008952/18.34, allocations: 0.5066 MB / 5.481 GB, free: 2.227 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/18.34, allocations: 113.7 kB / 5.481 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/18.34, allocations: 4 kB / 5.481 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.775/19.12, allocations: 3.94 MB / 5.485 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.947e-05/19.12, allocations: 12.59 kB / 5.485 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/19.12, allocations: 123.3 kB / 5.485 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/19.12, allocations: 0.6076 MB / 5.486 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/19.13, allocations: 2.174 MB / 5.488 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009031/19.13, allocations: 498.1 kB / 5.488 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009723/19.14, allocations: 115.9 kB / 5.489 GB, free: 110.8 MB / 0.9323 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 () * Number of clocked 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.006686/19.14, allocations: 2.177 MB / 5.491 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/19.14, allocations: 427.6 kB / 5.491 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/19.16, allocations: 4.093 MB / 5.495 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/19.16, allocations: 31.89 kB / 5.495 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/19.16, allocations: 2.906 kB / 5.495 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01096/19.17, allocations: 3.437 MB / 5.499 GB, free: 110 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.03262/19.2, allocations: 10.29 MB / 5.509 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/19.2, allocations: 2.656 kB / 5.509 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/19.21, allocations: 0.6265 MB / 5.509 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/19.21, allocations: 117.3 kB / 5.509 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000741/19.21, allocations: 83.92 kB / 5.509 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/19.21, allocations: 2.765 MB / 5.512 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/19.21, allocations: 5.438 kB / 5.512 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/19.23, allocations: 6.774 MB / 5.519 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/19.23, allocations: 1.084 MB / 5.52 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001972/19.24, allocations: 75.08 kB / 5.52 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007871/19.24, allocations: 454.6 kB / 5.52 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009037/19.25, allocations: 172.1 kB / 5.52 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000521/19.25, allocations: 110.3 kB / 5.521 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008826/19.26, allocations: 3.112 MB / 5.524 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.533e-06/19.26, allocations: 0 / 5.524 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01726/19.27, allocations: 2.754 MB / 5.526 GB, free: 105.8 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 (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.006642/19.28, allocations: 2.799 MB / 5.529 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01687/19.3, allocations: 6.086 MB / 5.535 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/19.3, allocations: 3.938 kB / 5.535 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00535/19.3, allocations: 2.042 MB / 5.537 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02356/19.33, allocations: 2.794 MB / 5.54 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/19.36, allocations: 13.35 MB / 5.553 GB, free: 99.42 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008043/19.37, allocations: 4.056 MB / 5.557 GB, free: 98.59 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01397/19.38, allocations: 2.391 MB / 5.559 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/19.38, allocations: 326.6 kB / 5.559 GB, free: 98.54 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/19.38, allocations: 2.062 kB / 5.559 GB, free: 98.54 MB / 0.9323 GB Notification: Performance of Templates: time 0.2815/19.66, allocations: 123.1 MB / 5.68 GB, free: 92.35 MB / 0.9323 GB