Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.433/2.433, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 179.9 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 94.31 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 14.06 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.434/7.634, allocations: 2.492 GB / 3.391 GB, free: 28.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/7.635, allocations: 99.69 kB / 3.391 GB, free: 28.17 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.69/20.33, allocations: 2.361 GB / 5.752 GB, free: 99.51 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.517e-06/20.33, allocations: 3.938 kB / 5.752 GB, free: 99.51 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001255/20.33, allocations: 151.1 kB / 5.752 GB, free: 99.36 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.03237/20.36, allocations: 6.917 MB / 5.759 GB, free: 92.38 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/20.36, allocations: 12.03 kB / 5.759 GB, free: 92.37 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003355/20.36, allocations: 0.6452 MB / 5.759 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/20.38, allocations: 1.412 MB / 5.761 GB, free: 90.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/20.4, allocations: 7.116 MB / 5.768 GB, free: 83.12 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/20.4, allocations: 361.1 kB / 5.768 GB, free: 82.76 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/20.41, allocations: 479.9 kB / 5.769 GB, free: 82.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/20.43, allocations: 6.47 MB / 5.775 GB, free: 75.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/20.43, allocations: 15.91 kB / 5.775 GB, free: 75.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/20.43, allocations: 192 kB / 5.775 GB, free: 75.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/20.43, allocations: 217 kB / 5.775 GB, free: 75.28 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/20.45, allocations: 5.723 MB / 5.781 GB, free: 69.54 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 preOpt removeSimpleEquations (simulation): time 0.06575/20.52, allocations: 26.65 MB / 5.807 GB, free: 41.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008715/20.53, allocations: 3.856 MB / 5.811 GB, free: 37.65 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/20.53, allocations: 1.01 MB / 5.812 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005948/20.53, allocations: 2.173 MB / 5.814 GB, free: 34.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.835e-06/20.53, allocations: 0 / 5.814 GB, free: 34.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.03698/20.57, allocations: 11.29 MB / 5.825 GB, free: 22.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/20.57, allocations: 141.2 kB / 5.825 GB, free: 22.54 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/20.58, allocations: 4.281 MB / 5.829 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009868/20.58, allocations: 89.7 kB / 5.829 GB, free: 18.15 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003439/20.59, allocations: 2.499 MB / 5.832 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/20.59, allocations: 1.082 MB / 5.833 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/20.59, allocations: 60 kB / 5.833 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002493/20.59, allocations: 440.5 kB / 5.833 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/20.59, allocations: 1.712 MB / 5.835 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005858/20.6, allocations: 2.515 MB / 5.837 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/20.61, allocations: 2.241 MB / 5.839 GB, free: 7.262 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/20.61, allocations: 4 kB / 5.839 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01664/20.62, allocations: 4.909 MB / 5.844 GB, free: 2.293 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.7765/21.4, allocations: 5.678 MB / 5.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.737e-05/21.4, allocations: 12.66 kB / 5.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007505/21.4, allocations: 123.9 kB / 5.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006781/21.41, allocations: 0.7144 MB / 5.851 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/21.41, allocations: 2.788 MB / 5.853 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009886/21.42, allocations: 0.5446 MB / 5.854 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/21.42, allocations: 122.6 kB / 5.854 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/21.42, allocations: 4.031 kB / 5.854 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01578/21.44, allocations: 4.534 MB / 5.858 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/21.44, allocations: 12.25 kB / 5.858 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/21.44, allocations: 126.6 kB / 5.859 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006702/21.44, allocations: 0.6989 MB / 5.859 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003497/21.45, allocations: 2.183 MB / 5.861 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009742/21.46, allocations: 0.5316 MB / 5.862 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/21.46, allocations: 129 kB / 5.862 GB, free: 105.4 MB / 0.9323 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.007684/21.47, allocations: 2.409 MB / 5.864 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/21.47, allocations: 466 kB / 5.865 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/21.48, allocations: 4.757 MB / 5.869 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/21.48, allocations: 31.72 kB / 5.87 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/21.48, allocations: 0 / 5.87 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01121/21.5, allocations: 3.992 MB / 5.873 GB, free: 104.6 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.0353/21.53, allocations: 11.72 MB / 5.885 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/21.53, allocations: 6.625 kB / 5.885 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006622/21.54, allocations: 0.7104 MB / 5.886 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/21.54, allocations: 114.2 kB / 5.886 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000839/21.54, allocations: 89.92 kB / 5.886 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/21.54, allocations: 2.775 MB / 5.888 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/21.54, allocations: 7.156 kB / 5.888 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/21.56, allocations: 7.827 MB / 5.896 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005217/21.57, allocations: 1.198 MB / 5.897 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/21.57, allocations: 77.38 kB / 5.897 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008444/21.58, allocations: 499.3 kB / 5.898 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/21.58, allocations: 192.9 kB / 5.898 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005283/21.58, allocations: 116.3 kB / 5.898 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009769/21.59, allocations: 3.383 MB / 5.901 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.21e-07/21.59, allocations: 0 / 5.901 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01878/21.61, allocations: 2.944 MB / 5.904 GB, free: 100.3 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 (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.02586/21.63, allocations: 11.95 MB / 5.916 GB, free: 96.78 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01861/21.65, allocations: 6.994 MB / 5.923 GB, free: 96.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/21.65, allocations: 2.969 kB / 5.923 GB, free: 96.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005971/21.66, allocations: 2.344 MB / 5.925 GB, free: 95.95 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0248/21.68, allocations: 2.914 MB / 5.928 GB, free: 95.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/21.74, allocations: 32.58 MB / 5.96 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009314/21.74, allocations: 4.507 MB / 5.964 GB, free: 72.89 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01558/21.76, allocations: 2.638 MB / 5.967 GB, free: 72.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007389/21.77, allocations: 2.354 MB / 5.969 GB, free: 72.84 MB / 0.9323 GB Notification: Performance of SimCode: time 2.535e-06/21.77, allocations: 1.062 kB / 5.969 GB, free: 72.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4636/22.23, allocations: 186.1 MB / 6.151 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/22.23, allocations: 265.7 kB / 6.151 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/32.53, allocations: 0 / 6.151 GB, free: 0.5234 MB / 0.9323 GB