Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.0009656/0.0009656, allocations: 191.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009479/0.0009475, allocations: 90.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 11.42 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.39, allocations: 2.492 GB / 3.392 GB, free: 17.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/6.39, allocations: 100.3 kB / 3.392 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.776/16.17, allocations: 2.361 GB / 5.753 GB, free: 97.89 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.884e-06/16.17, allocations: 0 / 5.753 GB, free: 97.89 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001456/16.17, allocations: 151.4 kB / 5.754 GB, free: 97.74 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.03135/16.2, allocations: 6.911 MB / 5.76 GB, free: 90.77 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/16.2, allocations: 16.56 kB / 5.76 GB, free: 90.75 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004253/16.2, allocations: 0.6452 MB / 5.761 GB, free: 90.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/16.22, allocations: 1.412 MB / 5.762 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02374/16.24, allocations: 7.113 MB / 5.769 GB, free: 81.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/16.24, allocations: 361.1 kB / 5.77 GB, free: 81.14 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003274/16.24, allocations: 483.8 kB / 5.77 GB, free: 80.67 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/16.27, allocations: 6.466 MB / 5.776 GB, free: 74.08 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000519/16.27, allocations: 11.94 kB / 5.776 GB, free: 74.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003152/16.27, allocations: 192 kB / 5.777 GB, free: 73.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/16.28, allocations: 221 kB / 5.777 GB, free: 73.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/16.29, allocations: 5.727 MB / 5.782 GB, free: 67.92 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.05782/16.35, allocations: 26.65 MB / 5.808 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/16.36, allocations: 3.857 MB / 5.812 GB, free: 36.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/16.36, allocations: 1.006 MB / 5.813 GB, free: 34.81 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004785/16.36, allocations: 2.176 MB / 5.815 GB, free: 32.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 5.911e-06/16.36, allocations: 0 / 5.815 GB, free: 32.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.0288/16.39, allocations: 11.29 MB / 5.826 GB, free: 21.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/16.39, allocations: 137.2 kB / 5.826 GB, free: 20.91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/16.4, allocations: 4.285 MB / 5.831 GB, free: 16.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/16.4, allocations: 89.7 kB / 5.831 GB, free: 16.52 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003833/16.41, allocations: 2.501 MB / 5.833 GB, free: 14 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00208/16.41, allocations: 1.085 MB / 5.834 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/16.41, allocations: 60 kB / 5.834 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004312/16.41, allocations: 440.5 kB / 5.835 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/16.42, allocations: 1.712 MB / 5.836 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/16.42, allocations: 2.515 MB / 5.839 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/16.42, allocations: 2.241 MB / 5.841 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/16.42, allocations: 4 kB / 5.841 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01078/16.43, allocations: 4.909 MB / 5.846 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.8072/17.24, allocations: 5.675 MB / 5.851 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/17.24, allocations: 11.72 kB / 5.851 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/17.24, allocations: 130.6 kB / 5.851 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/17.25, allocations: 0.7106 MB / 5.852 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/17.25, allocations: 2.776 MB / 5.855 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/17.26, allocations: 0.5462 MB / 5.855 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009504/17.26, allocations: 129 kB / 5.856 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/17.26, allocations: 5.312 kB / 5.856 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009254/17.27, allocations: 4.523 MB / 5.86 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.363e-05/17.27, allocations: 16.42 kB / 5.86 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/17.27, allocations: 131.9 kB / 5.86 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/17.27, allocations: 0.7005 MB / 5.861 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/17.27, allocations: 2.171 MB / 5.863 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00861/17.28, allocations: 0.5357 MB / 5.863 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/17.28, allocations: 125 kB / 5.864 GB, free: 104.2 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.007805/17.29, allocations: 2.42 MB / 5.866 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002186/17.29, allocations: 464.8 kB / 5.866 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/17.3, allocations: 4.762 MB / 5.871 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/17.3, allocations: 35.23 kB / 5.871 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/17.3, allocations: 1.031 kB / 5.871 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006249/17.31, allocations: 3.991 MB / 5.875 GB, free: 103.3 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.02801/17.34, allocations: 11.71 MB / 5.886 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/17.34, allocations: 4.875 kB / 5.886 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003655/17.34, allocations: 0.7083 MB / 5.887 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/17.34, allocations: 121.9 kB / 5.887 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006928/17.34, allocations: 93.2 kB / 5.887 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/17.35, allocations: 2.764 MB / 5.89 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/17.35, allocations: 4.969 kB / 5.89 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/17.36, allocations: 7.828 MB / 5.898 GB, free: 99.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005879/17.37, allocations: 1.2 MB / 5.899 GB, free: 99.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/17.37, allocations: 77.39 kB / 5.899 GB, free: 99.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006278/17.38, allocations: 493.9 kB / 5.899 GB, free: 99.15 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008764/17.38, allocations: 194.3 kB / 5.9 GB, free: 99.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007591/17.38, allocations: 118.5 kB / 5.9 GB, free: 99.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00895/17.39, allocations: 3.382 MB / 5.903 GB, free: 98.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.365e-06/17.39, allocations: 0 / 5.903 GB, free: 98.96 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02108/17.41, allocations: 2.95 MB / 5.906 GB, free: 98.96 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.02231/17.43, allocations: 11.94 MB / 5.917 GB, free: 95.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01536/17.45, allocations: 6.985 MB / 5.924 GB, free: 94.92 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/17.45, allocations: 3.75 kB / 5.924 GB, free: 94.92 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004555/17.45, allocations: 2.348 MB / 5.927 GB, free: 94.66 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01697/17.47, allocations: 2.925 MB / 5.929 GB, free: 94.63 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05468/17.52, allocations: 32.58 MB / 5.961 GB, free: 72.46 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009532/17.53, allocations: 4.505 MB / 5.966 GB, free: 71.62 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01353/17.55, allocations: 2.627 MB / 5.968 GB, free: 71.57 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008056/17.56, allocations: 2.363 MB / 5.971 GB, free: 71.57 MB / 0.9323 GB Notification: Performance of SimCode: time 1.272e-06/17.56, allocations: 0 / 5.971 GB, free: 71.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3078/17.86, allocations: 186.1 MB / 6.152 GB, free: 14.42 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/17.86, allocations: 273.4 kB / 6.153 GB, free: 14.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/26.18, allocations: 0 / 6.153 GB, free: 14.06 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)