Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.617/4.617, allocations: 0.5623 GB / 0.5769 GB, free: 3.387 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.002386/0.002386, allocations: 362.9 kB / 0.644 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 3.92/3.92, allocations: 410.7 MB / 1.112 GB, free: 5.902 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.001745/0.001745, allocations: 178.7 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005005, allocations: 16 kB / 1.348 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5737, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.2197/0.7934, allocations: 235.3 MB / 1.69 GB, free: 48.88 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.818, allocations: 19.01 MB / 1.709 GB, free: 29.85 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.8209, allocations: 67.56 kB / 1.709 GB, free: 29.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.8236, allocations: 0.9395 MB / 1.71 GB, free: 28.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009344/0.833, allocations: 3.247 MB / 1.713 GB, free: 25.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006885/0.8399, allocations: 2.093 MB / 1.715 GB, free: 23.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01716/0.8571, allocations: 17.99 MB / 1.733 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6019/1.459, allocations: 4.694 MB / 1.737 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009148/1.468, allocations: 4.476 MB / 1.742 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007277/1.476, allocations: 4.146 MB / 1.746 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009998/1.477, allocations: 225.9 kB / 1.746 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006753/1.483, allocations: 1.927 MB / 1.748 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002041/1.485, allocations: 1.431 MB / 1.749 GB, free: 35.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/1.488, allocations: 1.332 MB / 1.751 GB, free: 35.27 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/1.5, allocations: 9.47 MB / 1.76 GB, free: 34.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.504e-06/1.5, allocations: 0 / 1.76 GB, free: 34.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.374e-06/1.5, allocations: 2.875 kB / 1.76 GB, free: 34.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002028/1.5, allocations: 0 / 1.76 GB, free: 34.77 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01633/1.516, allocations: 5.816 MB / 1.766 GB, free: 32.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.516, allocations: 13.78 kB / 1.766 GB, free: 32.31 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/1.525, allocations: 1.249 MB / 1.767 GB, free: 31.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/1.539, allocations: 5.74 MB / 1.772 GB, free: 31.24 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/1.539, allocations: 309.2 kB / 1.773 GB, free: 31.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/1.54, allocations: 425 kB / 1.773 GB, free: 31.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.555, allocations: 5.917 MB / 1.779 GB, free: 30.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/1.555, allocations: 15.12 kB / 1.779 GB, free: 30.88 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/1.555, allocations: 160.6 kB / 1.779 GB, free: 30.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/1.556, allocations: 200.3 kB / 1.779 GB, free: 30.87 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/1.569, allocations: 5.258 MB / 1.784 GB, free: 30.84 MB / 0.8542 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.03966/1.609, allocations: 24 MB / 1.808 GB, free: 20.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/1.615, allocations: 3.934 MB / 1.812 GB, free: 20.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/1.619, allocations: 2.173 MB / 1.814 GB, free: 19.81 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.62, allocations: 1.013 MB / 1.815 GB, free: 18.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003475/1.624, allocations: 1.894 MB / 1.817 GB, free: 18.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=274): time 7.205e-06/1.624, allocations: 0 / 1.817 GB, free: 18.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278): time 0.02305/1.647, allocations: 9.749 MB / 1.826 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.647, allocations: 141.3 kB / 1.826 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00704/1.654, allocations: 4.081 MB / 1.83 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006266/1.655, allocations: 88.22 kB / 1.83 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.657, allocations: 2.191 MB / 1.832 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.658, allocations: 0.9519 MB / 1.833 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.658, allocations: 60.19 kB / 1.833 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.659, allocations: 440.1 kB / 1.834 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/1.662, allocations: 1.619 MB / 1.835 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004484/1.666, allocations: 2.401 MB / 1.838 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/1.671, allocations: 2.111 MB / 1.84 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/1.671, allocations: 3.562 kB / 1.84 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.01044/1.681, allocations: 4.651 MB / 1.844 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002786/1.681, allocations: 0.5308 MB / 1.845 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.682, allocations: 13.31 kB / 1.845 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/1.682, allocations: 121.9 kB / 1.845 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/1.686, allocations: 0.682 MB / 1.846 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/1.689, allocations: 2.757 MB / 1.848 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.695, allocations: 0.5096 MB / 1.849 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004813/1.696, allocations: 124.8 kB / 1.849 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.696, allocations: 6.125 kB / 1.849 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009433/1.705, allocations: 4.305 MB / 1.853 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/1.705, allocations: 12.16 kB / 1.853 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/1.706, allocations: 129.2 kB / 1.853 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/1.71, allocations: 0.6623 MB / 1.854 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/1.712, allocations: 2.161 MB / 1.856 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.718, allocations: 0.4901 MB / 1.857 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004797/1.719, allocations: 120.3 kB / 1.857 GB, free: 3.879 MB / 0.8542 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 (373): * Single equations (assignments): 365 * Array equations: 4 * 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.00449/1.723, allocations: 2.164 MB / 1.859 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.725, allocations: 427.5 kB / 1.859 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008727/1.733, allocations: 4.113 MB / 1.863 GB, free: 100 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.733, allocations: 28 kB / 1.863 GB, free: 72 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.733, allocations: 7.953 kB / 1.863 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007234/1.741, allocations: 3.466 MB / 1.867 GB, free: 13.62 MB / 0.8698 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.02318/1.764, allocations: 10.16 MB / 1.877 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.764, allocations: 4 kB / 1.877 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003876/1.768, allocations: 0.6299 MB / 1.877 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/1.768, allocations: 110.7 kB / 1.877 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003319/1.769, allocations: 82.91 kB / 1.877 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/1.772, allocations: 2.74 MB / 1.88 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.504e-06/1.772, allocations: 6.719 kB / 1.88 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.785, allocations: 6.388 MB / 1.886 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003522/1.788, allocations: 0.9829 MB / 1.887 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009988/1.789, allocations: 74.11 kB / 1.887 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004638/1.794, allocations: 431.7 kB / 1.888 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.795, allocations: 173.7 kB / 1.888 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/1.795, allocations: 111.7 kB / 1.888 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006001/1.801, allocations: 2.874 MB / 1.891 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.13e-07/1.801, allocations: 2.625 kB / 1.891 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01177/1.813, allocations: 2.369 MB / 1.893 GB, free: 9.133 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (267): * Single equations (assignments): 259 * 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.001903/1.815, allocations: 0.5603 MB / 1.894 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.829, allocations: 6.6 MB / 1.9 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.829, allocations: 0 / 1.9 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004181/1.833, allocations: 2.082 MB / 1.902 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01568/1.849, allocations: 2.738 MB / 1.905 GB, free: 324 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/1.876, allocations: 13.33 MB / 1.918 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006456/1.882, allocations: 4.033 MB / 1.922 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01094/1.893, allocations: 2.366 MB / 1.924 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.895, allocations: 321.2 kB / 1.924 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of SimCode: time 1.724e-06/1.895, allocations: 0 / 1.924 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.2167/2.112, allocations: 93.83 MB / 2.016 GB, free: 2.16 MB / 0.9948 GB