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.669/4.669, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.002382/0.002382, allocations: 362.7 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.959/3.959, allocations: 410.7 MB / 1.112 GB, free: 6.039 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.001754/0.001754, allocations: 183.8 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 12 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6172, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.2258/0.843, allocations: 237.6 MB / 1.693 GB, free: 46.65 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02648/0.8695, allocations: 19.99 MB / 1.712 GB, free: 26.64 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.8725, allocations: 75.5 kB / 1.712 GB, free: 26.56 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.8752, allocations: 0.9899 MB / 1.713 GB, free: 25.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009616/0.8849, allocations: 3.386 MB / 1.717 GB, free: 22.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007191/0.8921, allocations: 2.19 MB / 1.719 GB, free: 20.01 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.6452/1.537, allocations: 19.13 MB / 1.737 GB, free: 35.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008093/1.545, allocations: 5.416 MB / 1.743 GB, free: 34.29 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009424/1.555, allocations: 4.683 MB / 1.747 GB, free: 34.28 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007587/1.563, allocations: 4.419 MB / 1.752 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.564, allocations: 246.9 kB / 1.752 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/1.572, allocations: 2.113 MB / 1.754 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002852/1.574, allocations: 1.524 MB / 1.755 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002923/1.577, allocations: 1.466 MB / 1.757 GB, free: 34.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01355/1.591, allocations: 10.64 MB / 1.767 GB, free: 33.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.086e-06/1.591, allocations: 0 / 1.767 GB, free: 33.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.514e-06/1.591, allocations: 7.469 kB / 1.767 GB, free: 33.67 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002385/1.591, allocations: 0 / 1.767 GB, free: 33.67 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: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.0177/1.609, allocations: 6.395 MB / 1.773 GB, free: 30.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.609, allocations: 18.92 kB / 1.773 GB, free: 30.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.62, allocations: 1.424 MB / 1.775 GB, free: 30.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/1.634, allocations: 6.137 MB / 1.781 GB, free: 29.78 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/1.635, allocations: 359.2 kB / 1.781 GB, free: 29.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/1.637, allocations: 487.8 kB / 1.782 GB, free: 29.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.654, allocations: 6.84 MB / 1.788 GB, free: 29.35 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.654, allocations: 10.06 kB / 1.788 GB, free: 29.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000711/1.655, allocations: 192.5 kB / 1.789 GB, free: 29.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/1.655, allocations: 227.7 kB / 1.789 GB, free: 29.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/1.67, allocations: 6.081 MB / 1.795 GB, free: 29.28 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.04594/1.716, allocations: 26.65 MB / 1.821 GB, free: 16.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007124/1.724, allocations: 4.092 MB / 1.825 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/1.728, allocations: 2.497 MB / 1.827 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/1.729, allocations: 1.019 MB / 1.828 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004193/1.733, allocations: 2.168 MB / 1.83 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=310): time 7.678e-06/1.733, allocations: 0 / 1.83 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=314): time 0.02631/1.76, allocations: 11.16 MB / 1.841 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.76, allocations: 149 kB / 1.841 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008093/1.768, allocations: 4.459 MB / 1.846 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007197/1.769, allocations: 91.33 kB / 1.846 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002844/1.772, allocations: 2.467 MB / 1.848 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.773, allocations: 1.082 MB / 1.849 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.773, allocations: 63.88 kB / 1.849 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.774, allocations: 445.8 kB / 1.85 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/1.778, allocations: 1.852 MB / 1.851 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/1.783, allocations: 2.68 MB / 1.854 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/1.788, allocations: 2.383 MB / 1.856 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/1.788, allocations: 4 kB / 1.856 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.0113/1.799, allocations: 5.225 MB / 1.862 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002765/1.8, allocations: 0.5546 MB / 1.862 GB, free: 336 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.8, allocations: 12 kB / 1.862 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/1.8, allocations: 136.1 kB / 1.862 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004573/1.805, allocations: 0.7631 MB / 1.863 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/1.808, allocations: 2.771 MB / 1.866 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006263/1.815, allocations: 0.5447 MB / 1.866 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004865/1.815, allocations: 131.8 kB / 1.866 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.815, allocations: 4 kB / 1.866 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/1.825, allocations: 4.852 MB / 1.871 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/1.825, allocations: 16 kB / 1.871 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/1.826, allocations: 128.3 kB / 1.871 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/1.83, allocations: 0.7502 MB / 1.872 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/1.833, allocations: 2.168 MB / 1.874 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/1.839, allocations: 0.5423 MB / 1.875 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/1.84, allocations: 126.4 kB / 1.875 GB, free: 5.969 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (413): * Single equations (assignments): 405 * 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.005213/1.845, allocations: 2.403 MB / 1.877 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.846, allocations: 461.9 kB / 1.877 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.857, allocations: 4.725 MB / 1.882 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/1.857, allocations: 32 kB / 1.882 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.857, allocations: 3.953 kB / 1.882 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008107/1.865, allocations: 3.969 MB / 1.886 GB, free: 14.02 MB / 0.8855 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.02586/1.891, allocations: 11.53 MB / 1.897 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.891, allocations: 4 kB / 1.897 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004421/1.895, allocations: 0.7085 MB / 1.898 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.896, allocations: 123.7 kB / 1.898 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000339/1.896, allocations: 90.58 kB / 1.898 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/1.9, allocations: 2.736 MB / 1.901 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.9, allocations: 10.62 kB / 1.901 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.915, allocations: 7.335 MB / 1.908 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00365/1.918, allocations: 1.09 MB / 1.909 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.919, allocations: 83.41 kB / 1.909 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004789/1.924, allocations: 465.5 kB / 1.91 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/1.925, allocations: 199.9 kB / 1.91 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003926/1.925, allocations: 110.8 kB / 1.91 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006415/1.932, allocations: 3.144 MB / 1.913 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.23e-07/1.932, allocations: 0 / 1.913 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0114/1.943, allocations: 2.555 MB / 1.915 GB, free: 7.512 MB / 0.9011 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 (304): * Single equations (assignments): 296 * 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.0018/1.945, allocations: 0.573 MB / 1.916 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.961, allocations: 7.423 MB / 1.923 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.976e-06/1.961, allocations: 4.062 kB / 1.923 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004798/1.966, allocations: 2.358 MB / 1.926 GB, free: 236 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01617/1.982, allocations: 2.873 MB / 1.928 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03043/2.013, allocations: 14.85 MB / 1.943 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007028/2.02, allocations: 4.478 MB / 1.947 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01206/2.032, allocations: 2.633 MB / 1.95 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/2.034, allocations: 351.6 kB / 1.95 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of SimCode: time 2.24e-06/2.034, allocations: 0 / 1.95 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of Templates: time 0.2317/2.265, allocations: 100.1 MB / 2.048 GB, free: 7.574 MB / 1.026 GB