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.166/2.166, allocations: 248.7 MB / 256.2 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 182.3 kB / 315.4 MB, free: 4.004 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.018/2.018, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.7 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.582e-05/4.577e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.071/8.275, allocations: 2.492 GB / 3.376 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/8.275, allocations: 90.45 kB / 3.376 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.41/20.69, allocations: 2.336 GB / 5.712 GB, free: 89.13 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.793e-06/20.69, allocations: 0 / 5.712 GB, free: 89.13 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001237/20.69, allocations: 155.5 kB / 5.712 GB, free: 89.11 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: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02496/20.71, allocations: 5.727 MB / 5.718 GB, free: 86.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/20.71, allocations: 10.06 kB / 5.718 GB, free: 86.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/20.73, allocations: 1.398 MB / 5.719 GB, free: 86.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/20.75, allocations: 7.084 MB / 5.726 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/20.75, allocations: 147.8 kB / 5.726 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/20.75, allocations: 286.2 kB / 5.727 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01608/20.77, allocations: 5.224 MB / 5.732 GB, free: 85.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/20.79, allocations: 5.708 MB / 5.737 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/20.79, allocations: 11.31 kB / 5.737 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/20.79, allocations: 5.875 kB / 5.737 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/20.79, allocations: 216 kB / 5.738 GB, free: 85.35 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.05762/20.85, allocations: 25.82 MB / 5.763 GB, free: 75.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/20.86, allocations: 4.761 MB / 5.767 GB, free: 74.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005071/20.86, allocations: 2.31 MB / 5.77 GB, free: 74.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/20.87, allocations: 1.01 MB / 5.771 GB, free: 73.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004984/20.87, allocations: 2.16 MB / 5.773 GB, free: 73.33 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=312): time 7.444e-06/20.87, allocations: 0 / 5.773 GB, free: 73.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=316): time 0.03909/20.91, allocations: 10.63 MB / 5.783 GB, free: 70.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/20.91, allocations: 192.7 kB / 5.783 GB, free: 70.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009574/20.92, allocations: 3.866 MB / 5.787 GB, free: 70.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009472/20.92, allocations: 35.92 kB / 5.787 GB, free: 70.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003439/20.92, allocations: 2.479 MB / 5.79 GB, free: 69.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001885/20.93, allocations: 1.048 MB / 5.791 GB, free: 68.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/20.93, allocations: 3.75 kB / 5.791 GB, free: 68.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000241/20.93, allocations: 436.1 kB / 5.791 GB, free: 68.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/20.93, allocations: 1.594 MB / 5.793 GB, free: 68.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/20.93, allocations: 2.375 MB / 5.795 GB, free: 67.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/20.94, allocations: 2.193 MB / 5.797 GB, free: 67.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-05/20.94, allocations: 3.75 kB / 5.797 GB, free: 67.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0133/20.95, allocations: 4.579 MB / 5.802 GB, free: 67.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/20.96, allocations: 5.828 MB / 5.807 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.296e-05/20.96, allocations: 15.19 kB / 5.807 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/20.96, allocations: 122.4 kB / 5.807 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006406/20.96, allocations: 0.7172 MB / 5.808 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/20.97, allocations: 2.68 MB / 5.811 GB, free: 59.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/20.98, allocations: 496.8 kB / 5.811 GB, free: 59.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/20.98, allocations: 127.4 kB / 5.811 GB, free: 59.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/20.98, allocations: 3.844 kB / 5.811 GB, free: 59.17 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/20.99, allocations: 4.134 MB / 5.815 GB, free: 59.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/20.99, allocations: 12 kB / 5.815 GB, free: 59.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/20.99, allocations: 141.8 kB / 5.815 GB, free: 59.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005845/21, allocations: 0.7008 MB / 5.816 GB, free: 59.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/21, allocations: 2.067 MB / 5.818 GB, free: 57.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009586/21.01, allocations: 472.6 kB / 5.819 GB, free: 57.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009577/21.01, allocations: 130.1 kB / 5.819 GB, free: 57.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (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.001267/21.01, allocations: 245.5 kB / 5.819 GB, free: 57.57 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01177/21.02, allocations: 4.007 MB / 5.823 GB, free: 57.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/21.02, allocations: 455.6 kB / 5.823 GB, free: 56.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/21.04, allocations: 4.398 MB / 5.828 GB, free: 56.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.723e-05/21.04, allocations: 34.22 kB / 5.828 GB, free: 56.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/21.04, allocations: 3.906 kB / 5.828 GB, free: 56.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009834/21.05, allocations: 3.718 MB / 5.831 GB, free: 56.5 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.0301/21.08, allocations: 10.91 MB / 5.842 GB, free: 53.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/21.08, allocations: 3.375 kB / 5.842 GB, free: 53.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006318/21.08, allocations: 0.7101 MB / 5.843 GB, free: 53.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/21.08, allocations: 118.4 kB / 5.843 GB, free: 53.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/21.08, allocations: 48.97 kB / 5.843 GB, free: 53.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/21.09, allocations: 2.658 MB / 5.845 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/21.09, allocations: 3.625 kB / 5.845 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/21.1, allocations: 7.372 MB / 5.853 GB, free: 47.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/21.11, allocations: 1.164 MB / 5.854 GB, free: 47.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/21.11, allocations: 35.38 kB / 5.854 GB, free: 47.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008234/21.12, allocations: 442.4 kB / 5.854 GB, free: 47.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009148/21.12, allocations: 189 kB / 5.854 GB, free: 47.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004998/21.12, allocations: 119.3 kB / 5.854 GB, free: 47.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007366/21.13, allocations: 3.012 MB / 5.857 GB, free: 45.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.32e-07/21.13, allocations: 0 / 5.857 GB, free: 45.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01725/21.15, allocations: 2.734 MB / 5.86 GB, free: 45.76 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (305): * Single equations (assignments): 297 * 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.02245/21.17, allocations: 11.64 MB / 5.871 GB, free: 40.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01459/21.18, allocations: 6.668 MB / 5.878 GB, free: 36.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/21.18, allocations: 4 kB / 5.878 GB, free: 36.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004272/21.19, allocations: 2.196 MB / 5.88 GB, free: 34.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02269/21.21, allocations: 2.759 MB / 5.883 GB, free: 32.78 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03867/21.25, allocations: 12.92 MB / 5.895 GB, free: 22.26 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007144/21.26, allocations: 4.515 MB / 5.9 GB, free: 34.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02085/21.28, allocations: 4.294 MB / 5.904 GB, free: 32.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005849/21.28, allocations: 2.276 MB / 5.906 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of SimCode: time 1.673e-06/21.28, allocations: 4 kB / 5.906 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/22.44, allocations: 164.4 MB / 6.067 GB, free: 97.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/22.44, allocations: 182.8 kB / 6.067 GB, free: 97.69 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.777/32.21, allocations: 3.875 kB / 6.067 GB, free: 97.69 MB / 0.9323 GB