Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.6 MB / 307.5 MB, free: 5.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 181.1 kB / 377.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 0.6366 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008053, allocations: 88.83 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.398/6.659, allocations: 2.376 GB / 3.365 GB, free: 206.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/6.66, allocations: 99.94 kB / 3.365 GB, free: 206.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.68/16.34, allocations: 2.423 GB / 5.788 GB, free: 10.65 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.274e-06/16.34, allocations: 0 / 5.788 GB, free: 10.65 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001406/16.34, allocations: 155.3 kB / 5.788 GB, free: 10.5 MB / 1.01 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.03245/16.37, allocations: 6.898 MB / 5.795 GB, free: 3.539 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/16.37, allocations: 12.02 kB / 5.795 GB, free: 3.527 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004771/16.38, allocations: 0.6509 MB / 5.796 GB, free: 2.867 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/16.39, allocations: 1.403 MB / 5.797 GB, free: 1.457 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7987/17.19, allocations: 7.076 MB / 5.804 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/17.19, allocations: 354 kB / 5.804 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/17.19, allocations: 480.2 kB / 5.805 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/17.22, allocations: 6.438 MB / 5.811 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/17.22, allocations: 6.5 kB / 5.811 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/17.22, allocations: 190.4 kB / 5.811 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/17.22, allocations: 219.8 kB / 5.812 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/17.24, allocations: 5.699 MB / 5.817 GB, free: 103 MB / 1.01 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.06017/17.3, allocations: 26.61 MB / 5.843 GB, free: 93.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006559/17.3, allocations: 4.062 MB / 5.847 GB, free: 93.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/17.3, allocations: 1.002 MB / 5.848 GB, free: 92.36 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004069/17.31, allocations: 2.177 MB / 5.85 GB, free: 92.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=313): time 7.003e-06/17.31, allocations: 6.062 kB / 5.85 GB, free: 92.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.02723/17.34, allocations: 11.33 MB / 5.861 GB, free: 90.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/17.34, allocations: 144.3 kB / 5.861 GB, free: 90.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/17.35, allocations: 4.254 MB / 5.865 GB, free: 89.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/17.35, allocations: 93.52 kB / 5.866 GB, free: 89.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003344/17.35, allocations: 2.475 MB / 5.868 GB, free: 89.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/17.35, allocations: 1.083 MB / 5.869 GB, free: 88.83 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/17.35, allocations: 64.62 kB / 5.869 GB, free: 88.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002403/17.35, allocations: 436.4 kB / 5.87 GB, free: 88.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/17.36, allocations: 1.722 MB / 5.871 GB, free: 88.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003395/17.36, allocations: 2.527 MB / 5.874 GB, free: 87.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/17.36, allocations: 2.252 MB / 5.876 GB, free: 87.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/17.36, allocations: 3.312 kB / 5.876 GB, free: 87.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01027/17.37, allocations: 4.93 MB / 5.881 GB, free: 87.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001468/17.38, allocations: 5.684 MB / 5.886 GB, free: 81.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/17.38, allocations: 13.08 kB / 5.886 GB, free: 81.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/17.38, allocations: 127.7 kB / 5.886 GB, free: 81.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/17.38, allocations: 0.7128 MB / 5.887 GB, free: 81.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/17.38, allocations: 2.784 MB / 5.89 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007978/17.39, allocations: 0.5441 MB / 5.89 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008542/17.39, allocations: 128.9 kB / 5.89 GB, free: 79.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/17.39, allocations: 2.219 kB / 5.89 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008281/17.4, allocations: 4.55 MB / 5.895 GB, free: 79.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/17.4, allocations: 11.62 kB / 5.895 GB, free: 79.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/17.4, allocations: 126.8 kB / 5.895 GB, free: 79.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/17.4, allocations: 0.7051 MB / 5.896 GB, free: 79.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/17.4, allocations: 2.179 MB / 5.898 GB, free: 77.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/17.41, allocations: 0.5286 MB / 5.898 GB, free: 77.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/17.41, allocations: 128.5 kB / 5.898 GB, free: 77.81 MB / 1.01 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.007844/17.42, allocations: 2.392 MB / 5.901 GB, free: 77.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/17.42, allocations: 463.8 kB / 5.901 GB, free: 77.33 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/17.44, allocations: 4.774 MB / 5.906 GB, free: 77.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.469e-05/17.44, allocations: 29.5 kB / 5.906 GB, free: 77.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/17.44, allocations: 2.969 kB / 5.906 GB, free: 77.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007524/17.44, allocations: 4.027 MB / 5.91 GB, free: 76.73 MB / 1.01 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.03828/17.48, allocations: 11.88 MB / 5.921 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/17.48, allocations: 3.938 kB / 5.922 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004932/17.49, allocations: 0.7102 MB / 5.922 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/17.49, allocations: 113.2 kB / 5.922 GB, free: 75.53 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/17.49, allocations: 90.8 kB / 5.922 GB, free: 75.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/17.49, allocations: 2.762 MB / 5.925 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/17.49, allocations: 11.06 kB / 5.925 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/17.51, allocations: 7.846 MB / 5.933 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006014/17.52, allocations: 1.174 MB / 5.934 GB, free: 71.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002622/17.52, allocations: 80.7 kB / 5.934 GB, free: 71.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007007/17.53, allocations: 489.2 kB / 5.934 GB, free: 71.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009696/17.53, allocations: 188.4 kB / 5.935 GB, free: 71.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008352/17.53, allocations: 121.6 kB / 5.935 GB, free: 71.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0104/17.54, allocations: 3.36 MB / 5.938 GB, free: 71.71 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.22e-07/17.54, allocations: 4.781 kB / 5.938 GB, free: 71.71 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01859/17.56, allocations: 2.934 MB / 5.941 GB, free: 71.69 MB / 1.01 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.02259/17.58, allocations: 11.96 MB / 5.953 GB, free: 68.19 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01412/17.59, allocations: 7.017 MB / 5.959 GB, free: 67.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/17.59, allocations: 0 / 5.959 GB, free: 67.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/17.6, allocations: 2.356 MB / 5.962 GB, free: 67.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01689/17.62, allocations: 2.924 MB / 5.965 GB, free: 67.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05806/17.67, allocations: 32.5 MB / 5.996 GB, free: 45.13 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/17.68, allocations: 4.478 MB / 6.001 GB, free: 44.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01355/17.7, allocations: 2.632 MB / 6.003 GB, free: 44.24 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008004/17.71, allocations: 2.356 MB / 6.006 GB, free: 44.23 MB / 1.01 GB Notification: Performance of SimCode: time 1.493e-06/17.71, allocations: 3.391 kB / 6.006 GB, free: 44.23 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.064/18.77, allocations: 186.1 MB / 6.187 GB, free: 106.5 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/18.77, allocations: 264.3 kB / 6.188 GB, free: 106.1 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/27.22, allocations: 0 / 6.188 GB, free: 106.1 MB / 1.042 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)