Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001066/0.001066, allocations: 194.8 kB / 371.8 MB, free: 10.28 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.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008682/0.0008681, allocations: 98.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.000419, allocations: 12.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/6.356, allocations: 2.375 GB / 3.355 GB, free: 251.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/6.356, allocations: 96.64 kB / 3.355 GB, free: 251.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.415/15.77, allocations: 2.423 GB / 5.778 GB, free: 62.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.065e-05/15.77, allocations: 0 / 5.778 GB, free: 62.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001559/15.77, allocations: 147.9 kB / 5.778 GB, free: 62.61 MB / 0.9948 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.0265/15.8, allocations: 6.902 MB / 5.785 GB, free: 55.64 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/15.8, allocations: 8.031 kB / 5.785 GB, free: 55.64 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00309/15.8, allocations: 0.6489 MB / 5.786 GB, free: 54.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009969/15.81, allocations: 1.401 MB / 5.787 GB, free: 53.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/15.83, allocations: 7.09 MB / 5.794 GB, free: 46.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/15.83, allocations: 361 kB / 5.794 GB, free: 46.04 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/15.83, allocations: 483.7 kB / 5.795 GB, free: 45.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/15.85, allocations: 6.433 MB / 5.801 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/15.85, allocations: 4 kB / 5.801 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006295/15.85, allocations: 199.9 kB / 5.801 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/15.85, allocations: 220.9 kB / 5.802 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/15.86, allocations: 5.696 MB / 5.807 GB, free: 32.88 MB / 0.9948 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.04302/15.9, allocations: 26.61 MB / 5.833 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/15.91, allocations: 4.051 MB / 5.837 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.702/16.61, allocations: 1 MB / 5.838 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006867/16.62, allocations: 2.181 MB / 5.84 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 8.757e-06/16.62, allocations: 2.281 kB / 5.84 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03355/16.65, allocations: 11.32 MB / 5.851 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/16.65, allocations: 148.2 kB / 5.851 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/16.66, allocations: 4.253 MB / 5.856 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001591/16.66, allocations: 90.61 kB / 5.856 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004842/16.67, allocations: 2.48 MB / 5.858 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002672/16.67, allocations: 1.082 MB / 5.859 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/16.67, allocations: 63.75 kB / 5.859 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003439/16.67, allocations: 439.6 kB / 5.86 GB, free: 119 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/16.68, allocations: 1.724 MB / 5.861 GB, free: 119 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004706/16.68, allocations: 2.524 MB / 5.864 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/16.69, allocations: 2.248 MB / 5.866 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/16.69, allocations: 7.938 kB / 5.866 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01059/16.7, allocations: 4.926 MB / 5.871 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001334/16.7, allocations: 5.684 MB / 5.876 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/16.7, allocations: 15.22 kB / 5.876 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/16.7, allocations: 122.4 kB / 5.876 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/16.7, allocations: 0.7107 MB / 5.877 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/16.7, allocations: 2.788 MB / 5.88 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008414/16.71, allocations: 0.5444 MB / 5.88 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/16.71, allocations: 128 kB / 5.881 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/16.71, allocations: 6.516 kB / 5.881 GB, free: 109.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/16.73, allocations: 4.551 MB / 5.885 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-05/16.73, allocations: 12.41 kB / 5.885 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/16.73, allocations: 125.4 kB / 5.885 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/16.73, allocations: 0.7059 MB / 5.886 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/16.73, allocations: 2.179 MB / 5.888 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008713/16.74, allocations: 0.5279 MB / 5.888 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/16.74, allocations: 121.3 kB / 5.889 GB, free: 108.3 MB / 0.9948 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.008981/16.75, allocations: 2.39 MB / 5.891 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003692/16.76, allocations: 465.5 kB / 5.891 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/16.77, allocations: 4.779 MB / 5.896 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/16.77, allocations: 34.19 kB / 5.896 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/16.77, allocations: 0 / 5.896 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006059/16.77, allocations: 4.012 MB / 5.9 GB, free: 107.2 MB / 0.9948 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.02855/16.8, allocations: 11.89 MB / 5.912 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/16.8, allocations: 3.875 kB / 5.912 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/16.81, allocations: 0.7122 MB / 5.912 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/16.81, allocations: 107.9 kB / 5.912 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/16.81, allocations: 94.66 kB / 5.912 GB, free: 106 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/16.81, allocations: 2.765 MB / 5.915 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/16.81, allocations: 5.344 kB / 5.915 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/16.82, allocations: 7.843 MB / 5.923 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005184/16.83, allocations: 1.176 MB / 5.924 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/16.83, allocations: 85.23 kB / 5.924 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006051/16.83, allocations: 486.9 kB / 5.925 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/16.83, allocations: 190.5 kB / 5.925 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003882/16.83, allocations: 123.1 kB / 5.925 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007804/16.84, allocations: 3.362 MB / 5.928 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.01e-07/16.84, allocations: 2.438 kB / 5.928 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01954/16.86, allocations: 2.927 MB / 5.931 GB, free: 102.2 MB / 0.9948 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.02183/16.88, allocations: 11.97 MB / 5.943 GB, free: 98.73 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01363/16.9, allocations: 7.019 MB / 5.95 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/16.9, allocations: 3.594 kB / 5.95 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00358/16.9, allocations: 2.358 MB / 5.952 GB, free: 97.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/16.92, allocations: 2.913 MB / 5.955 GB, free: 97.87 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/16.96, allocations: 32.51 MB / 5.986 GB, free: 75.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004538/16.96, allocations: 4.476 MB / 5.991 GB, free: 74.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.009164/16.97, allocations: 2.63 MB / 5.993 GB, free: 74.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004464/16.98, allocations: 2.355 MB / 5.996 GB, free: 74.82 MB / 0.9948 GB Notification: Performance of SimCode: time 1.823e-06/16.98, allocations: 0 / 5.996 GB, free: 74.82 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2998/17.28, allocations: 186.1 MB / 6.177 GB, free: 12.87 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/17.28, allocations: 269.4 kB / 6.178 GB, free: 12.52 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.906/26.18, allocations: 0 / 6.178 GB, free: 12.52 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)