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.223/2.223, allocations: 248.5 MB / 261.1 MB, free: 6.078 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.001471/0.00147, allocations: 178.3 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001127/0.001126, allocations: 96.72 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.507e-05/4.533e-05, allocations: 8 kB / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 106.3 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.132/8.333, allocations: 2.492 GB / 3.383 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/8.333, allocations: 91.69 kB / 3.383 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.84/21.18, allocations: 2.357 GB / 5.74 GB, free: 88.61 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.844e-06/21.18, allocations: 0 / 5.74 GB, free: 88.61 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001345/21.18, allocations: 149 kB / 5.74 GB, free: 88.59 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.02652/21.2, allocations: 5.733 MB / 5.746 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/21.2, allocations: 7.438 kB / 5.746 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003162/21.21, allocations: 0.6425 MB / 5.746 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/21.22, allocations: 1.404 MB / 5.748 GB, free: 86.06 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/21.25, allocations: 7.077 MB / 5.755 GB, free: 85.19 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005394/21.25, allocations: 361 kB / 5.755 GB, free: 85.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/21.25, allocations: 484.8 kB / 5.755 GB, free: 85.17 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/21.27, allocations: 6.376 MB / 5.762 GB, free: 84.77 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/21.27, allocations: 9.938 kB / 5.762 GB, free: 84.77 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/21.27, allocations: 194.3 kB / 5.762 GB, free: 84.77 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002967/21.27, allocations: 214 kB / 5.762 GB, free: 84.75 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/21.29, allocations: 5.612 MB / 5.768 GB, free: 84.71 MB / 0.9323 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.06302/21.36, allocations: 26.64 MB / 5.794 GB, free: 75.22 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008696/21.36, allocations: 3.808 MB / 5.797 GB, free: 74.95 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/21.37, allocations: 2.423 MB / 5.8 GB, free: 74.92 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001812/21.37, allocations: 1.001 MB / 5.801 GB, free: 73.89 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006268/21.38, allocations: 2.155 MB / 5.803 GB, free: 73.72 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.884e-06/21.38, allocations: 0 / 5.803 GB, free: 73.72 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.03253/21.41, allocations: 9.442 MB / 5.812 GB, free: 71.97 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/21.41, allocations: 146 kB / 5.812 GB, free: 71.84 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/21.42, allocations: 4.227 MB / 5.816 GB, free: 71.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/21.42, allocations: 91.67 kB / 5.816 GB, free: 71.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/21.43, allocations: 2.497 MB / 5.819 GB, free: 70.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/21.43, allocations: 1.085 MB / 5.82 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/21.43, allocations: 63.56 kB / 5.82 GB, free: 69.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002761/21.43, allocations: 440.9 kB / 5.82 GB, free: 69.67 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/21.43, allocations: 1.681 MB / 5.822 GB, free: 69.66 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005597/21.44, allocations: 2.474 MB / 5.824 GB, free: 68.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/21.45, allocations: 2.215 MB / 5.827 GB, free: 68.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/21.45, allocations: 3.875 kB / 5.827 GB, free: 68.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01446/21.46, allocations: 4.834 MB / 5.831 GB, free: 68.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001243/21.46, allocations: 5.672 MB / 5.837 GB, free: 62.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.724e-05/21.46, allocations: 11.59 kB / 5.837 GB, free: 62.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/21.46, allocations: 131.8 kB / 5.837 GB, free: 62.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006762/21.47, allocations: 0.7196 MB / 5.838 GB, free: 62.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/21.47, allocations: 2.739 MB / 5.84 GB, free: 60.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009951/21.48, allocations: 0.5447 MB / 5.841 GB, free: 60.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/21.48, allocations: 127.2 kB / 5.841 GB, free: 60.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/21.48, allocations: 4 kB / 5.841 GB, free: 60.45 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0126/21.5, allocations: 4.461 MB / 5.845 GB, free: 60.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-05/21.5, allocations: 14.47 kB / 5.845 GB, free: 60.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/21.5, allocations: 123.2 kB / 5.845 GB, free: 60.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00633/21.5, allocations: 0.6995 MB / 5.846 GB, free: 60.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/21.51, allocations: 2.149 MB / 5.848 GB, free: 58.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009605/21.52, allocations: 0.5274 MB / 5.849 GB, free: 58.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/21.52, allocations: 126.3 kB / 5.849 GB, free: 58.91 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 () * 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.001364/21.52, allocations: 360.9 kB / 5.849 GB, free: 58.73 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/21.52, allocations: 466.6 kB / 5.85 GB, free: 58.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/21.53, allocations: 4.708 MB / 5.854 GB, free: 58.21 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/21.53, allocations: 28.28 kB / 5.854 GB, free: 58.21 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/21.53, allocations: 7.203 kB / 5.854 GB, free: 58.21 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/21.55, allocations: 3.932 MB / 5.858 GB, free: 57.52 MB / 0.9323 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.03364/21.58, allocations: 11.67 MB / 5.87 GB, free: 52.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/21.58, allocations: 6.594 kB / 5.87 GB, free: 52.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006722/21.59, allocations: 0.7038 MB / 5.87 GB, free: 52.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/21.59, allocations: 116.3 kB / 5.87 GB, free: 52.56 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007624/21.59, allocations: 95.11 kB / 5.87 GB, free: 52.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/21.59, allocations: 2.724 MB / 5.873 GB, free: 50.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/21.59, allocations: 7.25 kB / 5.873 GB, free: 50.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/21.61, allocations: 7.741 MB / 5.881 GB, free: 46.53 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005386/21.61, allocations: 1.196 MB / 5.882 GB, free: 45.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/21.62, allocations: 76.69 kB / 5.882 GB, free: 45.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00856/21.63, allocations: 0.4911 MB / 5.882 GB, free: 45.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009481/21.63, allocations: 188.9 kB / 5.883 GB, free: 45.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000513/21.63, allocations: 119.3 kB / 5.883 GB, free: 45.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008766/21.64, allocations: 3.333 MB / 5.886 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.182e-06/21.64, allocations: 0 / 5.886 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01769/21.65, allocations: 2.944 MB / 5.889 GB, free: 44.14 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) * 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.02493/21.68, allocations: 11.86 MB / 5.9 GB, free: 38.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01742/21.7, allocations: 7.03 MB / 5.907 GB, free: 32.14 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/21.7, allocations: 0 / 5.907 GB, free: 32.14 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005512/21.7, allocations: 2.313 MB / 5.909 GB, free: 30.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02482/21.73, allocations: 2.931 MB / 5.912 GB, free: 28.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03856/21.76, allocations: 13.09 MB / 5.925 GB, free: 17.31 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008603/21.77, allocations: 4.509 MB / 5.93 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02356/21.8, allocations: 4.345 MB / 5.934 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006258/21.8, allocations: 2.282 MB / 5.936 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of SimCode: time 1.323e-06/21.8, allocations: 0 / 5.936 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.231/23.03, allocations: 200.5 MB / 6.132 GB, free: 91.64 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/23.03, allocations: 235.9 kB / 6.132 GB, free: 91.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/34.45, allocations: 0 / 6.132 GB, free: 91.33 MB / 0.948 GB