Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.0015/0.0015, allocations: 188.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001213/0.001213, allocations: 89.61 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006425, allocations: 15.8 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2043, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.02/8.224, allocations: 2.375 GB / 3.353 GB, free: 254.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/8.225, allocations: 97.56 kB / 3.354 GB, free: 254.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.62/20.85, allocations: 2.423 GB / 5.777 GB, free: 71.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.693e-06/20.85, allocations: 0 / 5.777 GB, free: 71.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001201/20.85, allocations: 150.4 kB / 5.777 GB, free: 70.88 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.0333/20.88, allocations: 6.893 MB / 5.784 GB, free: 63.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/20.88, allocations: 16.03 kB / 5.784 GB, free: 63.91 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003529/20.89, allocations: 0.6446 MB / 5.784 GB, free: 63.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/20.9, allocations: 1.397 MB / 5.786 GB, free: 61.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/20.93, allocations: 7.09 MB / 5.793 GB, free: 54.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/20.93, allocations: 357.1 kB / 5.793 GB, free: 54.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/20.93, allocations: 475.8 kB / 5.794 GB, free: 53.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/20.95, allocations: 6.441 MB / 5.8 GB, free: 47.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/20.95, allocations: 15.88 kB / 5.8 GB, free: 47.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/20.95, allocations: 192 kB / 5.8 GB, free: 47.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/20.95, allocations: 216.3 kB / 5.8 GB, free: 46.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/20.97, allocations: 5.7 MB / 5.806 GB, free: 41.16 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.08045/21.05, allocations: 26.61 MB / 5.832 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/21.06, allocations: 4.067 MB / 5.836 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/21.07, allocations: 1.01 MB / 5.837 GB, free: 7.762 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006643/21.07, allocations: 2.176 MB / 5.839 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 7.494e-06/21.07, allocations: 0 / 5.839 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.8637/21.94, allocations: 11.33 MB / 5.85 GB, free: 122.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/21.94, allocations: 141.2 kB / 5.85 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01991/21.96, allocations: 4.246 MB / 5.854 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/21.96, allocations: 93.08 kB / 5.854 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005354/21.96, allocations: 2.481 MB / 5.857 GB, free: 121.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/21.97, allocations: 1.086 MB / 5.858 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/21.97, allocations: 60.69 kB / 5.858 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003971/21.97, allocations: 435.7 kB / 5.858 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005956/21.97, allocations: 1.727 MB / 5.86 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007227/21.98, allocations: 2.522 MB / 5.862 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/21.99, allocations: 2.254 MB / 5.865 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.203e-05/21.99, allocations: 6.844 kB / 5.865 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0172/22, allocations: 4.932 MB / 5.869 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/22.01, allocations: 5.674 MB / 5.875 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.456e-05/22.01, allocations: 14.41 kB / 5.875 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/22.01, allocations: 130.8 kB / 5.875 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006587/22.01, allocations: 0.709 MB / 5.876 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/22.02, allocations: 2.783 MB / 5.879 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/22.03, allocations: 0.5405 MB / 5.879 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/22.03, allocations: 126.8 kB / 5.879 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/22.03, allocations: 2.938 kB / 5.879 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01391/22.04, allocations: 4.557 MB / 5.884 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-05/22.04, allocations: 11.12 kB / 5.884 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/22.04, allocations: 126.9 kB / 5.884 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/22.05, allocations: 0.7027 MB / 5.884 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/22.05, allocations: 2.174 MB / 5.887 GB, free: 109.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009972/22.06, allocations: 0.5261 MB / 5.887 GB, free: 109.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/22.06, allocations: 130.6 kB / 5.887 GB, free: 109.9 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.00751/22.07, allocations: 2.398 MB / 5.89 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/22.07, allocations: 462.7 kB / 5.89 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/22.09, allocations: 4.777 MB / 5.895 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/22.09, allocations: 30.48 kB / 5.895 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/22.09, allocations: 1.797 kB / 5.895 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01387/22.11, allocations: 4.011 MB / 5.899 GB, free: 108.8 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.03901/22.15, allocations: 11.88 MB / 5.91 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/22.15, allocations: 9.422 kB / 5.91 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006651/22.15, allocations: 0.7082 MB / 5.911 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005857/22.15, allocations: 109.8 kB / 5.911 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008121/22.15, allocations: 90.28 kB / 5.911 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/22.16, allocations: 2.77 MB / 5.914 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/22.16, allocations: 10.56 kB / 5.914 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/22.18, allocations: 7.849 MB / 5.922 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005302/22.18, allocations: 1.167 MB / 5.923 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/22.18, allocations: 82.08 kB / 5.923 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00859/22.19, allocations: 488.5 kB / 5.923 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/22.19, allocations: 193.3 kB / 5.923 GB, free: 104 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005572/22.19, allocations: 123.9 kB / 5.923 GB, free: 104 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009501/22.2, allocations: 3.358 MB / 5.927 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.51e-07/22.2, allocations: 0 / 5.927 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01861/22.22, allocations: 2.933 MB / 5.93 GB, free: 103.8 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.02548/22.25, allocations: 11.96 MB / 5.941 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01846/22.27, allocations: 7.024 MB / 5.948 GB, free: 99.79 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/22.27, allocations: 0 / 5.948 GB, free: 99.79 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005865/22.27, allocations: 2.353 MB / 5.95 GB, free: 99.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02525/22.3, allocations: 2.927 MB / 5.953 GB, free: 99.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05454/22.35, allocations: 32.5 MB / 5.985 GB, free: 77.35 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009488/22.36, allocations: 4.476 MB / 5.989 GB, free: 76.51 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0151/22.38, allocations: 2.633 MB / 5.992 GB, free: 76.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00738/22.38, allocations: 2.355 MB / 5.994 GB, free: 76.46 MB / 0.9948 GB Notification: Performance of SimCode: time 1.543e-06/22.38, allocations: 0 / 5.994 GB, free: 76.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/22.78, allocations: 186.1 MB / 6.176 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/22.78, allocations: 261.7 kB / 6.176 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/33.13, allocations: 8 kB / 6.176 GB, free: 3.066 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)