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.595/1.595, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.00116/0.00116, allocations: 176.8 kB / 361.4 MB, free: 6.848 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008808/0.000881, allocations: 96.23 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.581e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7906, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.967, allocations: 2.375 GB / 3.339 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/6.967, allocations: 90.81 kB / 3.339 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.984/15.95, allocations: 2.398 GB / 5.737 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/15.95, allocations: 0 / 5.737 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001069/15.95, allocations: 148.4 kB / 5.738 GB, free: 105.6 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.01997/15.97, allocations: 5.717 MB / 5.743 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/15.97, allocations: 12.47 kB / 5.743 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/15.98, allocations: 1.397 MB / 5.745 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/16, allocations: 7.054 MB / 5.751 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/16, allocations: 146.7 kB / 5.752 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/16, allocations: 280.2 kB / 5.752 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01188/16.01, allocations: 5.208 MB / 5.757 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/16.03, allocations: 5.681 MB / 5.762 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/16.03, allocations: 11.94 kB / 5.762 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000667/16.03, allocations: 7.875 kB / 5.762 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/16.03, allocations: 215.1 kB / 5.763 GB, free: 102.2 MB / 0.9948 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.04668/16.08, allocations: 25.79 MB / 5.788 GB, free: 92.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/16.08, allocations: 4.95 MB / 5.793 GB, free: 91.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/16.09, allocations: 2.325 MB / 5.795 GB, free: 91.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/16.09, allocations: 1.007 MB / 5.796 GB, free: 90.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/16.09, allocations: 2.159 MB / 5.798 GB, free: 90.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 4.969e-06/16.09, allocations: 0 / 5.798 GB, free: 90.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.0331/16.12, allocations: 10.65 MB / 5.808 GB, free: 87.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/16.12, allocations: 194.3 kB / 5.809 GB, free: 87.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/16.14, allocations: 3.842 MB / 5.812 GB, free: 86.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008745/16.14, allocations: 31.95 kB / 5.812 GB, free: 86.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003485/16.14, allocations: 2.474 MB / 5.815 GB, free: 85.92 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/16.14, allocations: 1.038 MB / 5.816 GB, free: 85.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/16.14, allocations: 1.422 kB / 5.816 GB, free: 85.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003647/16.14, allocations: 441.8 kB / 5.816 GB, free: 84.92 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/16.15, allocations: 1.601 MB / 5.818 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/16.15, allocations: 2.388 MB / 5.82 GB, free: 84.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/16.15, allocations: 2.203 MB / 5.822 GB, free: 84.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/16.15, allocations: 3.719 kB / 5.822 GB, free: 84.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01092/16.17, allocations: 4.608 MB / 5.827 GB, free: 83.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001589/16.17, allocations: 5.829 MB / 5.833 GB, free: 77.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/16.17, allocations: 9.375 kB / 5.833 GB, free: 77.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/16.17, allocations: 127 kB / 5.833 GB, free: 77.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/16.17, allocations: 0.7201 MB / 5.833 GB, free: 77.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/16.17, allocations: 2.687 MB / 5.836 GB, free: 75.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007282/16.18, allocations: 486.8 kB / 5.836 GB, free: 75.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008581/16.18, allocations: 130.7 kB / 5.837 GB, free: 75.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/16.18, allocations: 4.406 kB / 5.837 GB, free: 75.91 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/16.19, allocations: 4.163 MB / 5.841 GB, free: 75.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/16.19, allocations: 13.91 kB / 5.841 GB, free: 75.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/16.19, allocations: 123.7 kB / 5.841 GB, free: 75.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/16.2, allocations: 0.7083 MB / 5.841 GB, free: 75.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/16.2, allocations: 2.063 MB / 5.844 GB, free: 74.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007067/16.21, allocations: 476.8 kB / 5.844 GB, free: 74.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/16.21, allocations: 132.8 kB / 5.844 GB, free: 74.5 MB / 0.9948 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.001757/16.21, allocations: 251.2 kB / 5.844 GB, free: 74.32 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01039/16.22, allocations: 4.011 MB / 5.848 GB, free: 73.96 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/16.22, allocations: 447.3 kB / 5.849 GB, free: 73.74 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009903/16.23, allocations: 4.405 MB / 5.853 GB, free: 73.52 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/16.23, allocations: 29.94 kB / 5.853 GB, free: 73.52 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/16.23, allocations: 2.812 kB / 5.853 GB, free: 73.52 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006299/16.24, allocations: 3.749 MB / 5.857 GB, free: 73.26 MB / 0.9948 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.02615/16.26, allocations: 11.08 MB / 5.867 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/16.26, allocations: 5.188 kB / 5.867 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/16.27, allocations: 0.7085 MB / 5.868 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/16.27, allocations: 108.2 kB / 5.868 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005709/16.27, allocations: 51.2 kB / 5.868 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/16.27, allocations: 2.667 MB / 5.871 GB, free: 70.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/16.27, allocations: 9.422 kB / 5.871 GB, free: 70.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/16.28, allocations: 7.39 MB / 5.878 GB, free: 68.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/16.29, allocations: 1.142 MB / 5.879 GB, free: 68.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/16.29, allocations: 29.81 kB / 5.879 GB, free: 68.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005522/16.3, allocations: 438.5 kB / 5.88 GB, free: 68.54 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/16.3, allocations: 195.3 kB / 5.88 GB, free: 68.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005225/16.3, allocations: 123.1 kB / 5.88 GB, free: 68.53 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006888/16.3, allocations: 2.984 MB / 5.883 GB, free: 68.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.21e-07/16.3, allocations: 0 / 5.883 GB, free: 68.35 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0164/16.32, allocations: 2.721 MB / 5.886 GB, free: 68.29 MB / 0.9948 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.01936/16.34, allocations: 11.67 MB / 5.897 GB, free: 64.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01284/16.35, allocations: 6.7 MB / 5.904 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/16.35, allocations: 5.781 kB / 5.904 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/16.36, allocations: 2.205 MB / 5.906 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01597/16.37, allocations: 2.765 MB / 5.908 GB, free: 64.05 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03896/16.41, allocations: 12.86 MB / 5.921 GB, free: 61.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007242/16.42, allocations: 4.482 MB / 5.925 GB, free: 60.94 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01556/16.43, allocations: 4.329 MB / 5.93 GB, free: 60.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005348/16.44, allocations: 2.271 MB / 5.932 GB, free: 60.88 MB / 0.9948 GB Notification: Performance of SimCode: time 9.02e-07/16.44, allocations: 3.75 kB / 5.932 GB, free: 60.88 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8869/17.33, allocations: 164.4 MB / 6.092 GB, free: 93.84 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/17.33, allocations: 195.5 kB / 6.093 GB, free: 93.61 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/25.71, allocations: 0 / 6.093 GB, free: 93.61 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)