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.678/1.678, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001432/0.001433, allocations: 177.2 kB / 371.6 MB, free: 3.383 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.712/1.712, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001034/0.001034, allocations: 91.97 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.464e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.308, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.676/7.984, allocations: 2.376 GB / 3.356 GB, free: 175.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/7.985, allocations: 91.12 kB / 3.356 GB, free: 175.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.4/18.38, allocations: 2.42 GB / 5.776 GB, free: 104.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.914e-06/18.38, allocations: 0 / 5.776 GB, free: 104.5 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001374/18.39, allocations: 150.7 kB / 5.776 GB, free: 104.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.02703/18.41, allocations: 5.717 MB / 5.782 GB, free: 102.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/18.41, allocations: 10.31 kB / 5.782 GB, free: 102.7 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00364/18.42, allocations: 0.6353 MB / 5.782 GB, free: 102.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/18.43, allocations: 1.397 MB / 5.784 GB, free: 102.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02574/18.46, allocations: 7.053 MB / 5.79 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/18.46, allocations: 353.1 kB / 5.791 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/18.46, allocations: 484 kB / 5.791 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/18.48, allocations: 6.352 MB / 5.797 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/18.48, allocations: 13.64 kB / 5.797 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/18.48, allocations: 191.1 kB / 5.798 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/18.48, allocations: 217.7 kB / 5.798 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/18.5, allocations: 5.582 MB / 5.803 GB, free: 101.1 MB / 1.01 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.05335/18.55, allocations: 26.6 MB / 5.829 GB, free: 91.59 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006907/18.56, allocations: 4.01 MB / 5.833 GB, free: 91.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/18.56, allocations: 2.433 MB / 5.836 GB, free: 91.12 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/18.56, allocations: 1.006 MB / 5.837 GB, free: 90.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005191/18.57, allocations: 2.148 MB / 5.839 GB, free: 89.92 MB / 1.01 GB Notification: Performance of pre-optimization done (n=313): time 1.114e-05/18.57, allocations: 8.344 kB / 5.839 GB, free: 89.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.02512/18.59, allocations: 9.467 MB / 5.848 GB, free: 88.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/18.59, allocations: 142.9 kB / 5.848 GB, free: 88.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009476/18.6, allocations: 4.201 MB / 5.852 GB, free: 87.74 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/18.6, allocations: 96.97 kB / 5.852 GB, free: 87.71 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003368/18.61, allocations: 2.483 MB / 5.855 GB, free: 86.89 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/18.61, allocations: 1.083 MB / 5.856 GB, free: 86.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/18.61, allocations: 63.47 kB / 5.856 GB, free: 86.19 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002909/18.61, allocations: 436.4 kB / 5.856 GB, free: 85.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/18.61, allocations: 1.69 MB / 5.858 GB, free: 85.88 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/18.62, allocations: 2.485 MB / 5.86 GB, free: 85.13 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/18.62, allocations: 2.22 MB / 5.862 GB, free: 85.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/18.62, allocations: 11.33 kB / 5.862 GB, free: 85 MB / 1.01 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009574/18.63, allocations: 4.852 MB / 5.867 GB, free: 84.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001274/18.63, allocations: 5.683 MB / 5.873 GB, free: 78.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/18.63, allocations: 14.16 kB / 5.873 GB, free: 78.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/18.63, allocations: 126.7 kB / 5.873 GB, free: 78.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/18.63, allocations: 0.7149 MB / 5.874 GB, free: 78.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/18.64, allocations: 2.744 MB / 5.876 GB, free: 76.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007754/18.64, allocations: 0.5415 MB / 5.877 GB, free: 76.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/18.65, allocations: 128.5 kB / 5.877 GB, free: 76.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/18.65, allocations: 3.031 kB / 5.877 GB, free: 76.67 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008405/18.65, allocations: 4.477 MB / 5.881 GB, free: 76.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.115e-05/18.65, allocations: 12.41 kB / 5.881 GB, free: 76.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/18.65, allocations: 127.4 kB / 5.881 GB, free: 76.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/18.66, allocations: 0.7067 MB / 5.882 GB, free: 76.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/18.66, allocations: 2.141 MB / 5.884 GB, free: 75.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00762/18.67, allocations: 0.5276 MB / 5.885 GB, free: 75.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009147/18.67, allocations: 124.6 kB / 5.885 GB, free: 75.13 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 () * 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.001965/18.67, allocations: 365.8 kB / 5.885 GB, free: 74.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002551/18.67, allocations: 463.2 kB / 5.886 GB, free: 74.73 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/18.69, allocations: 4.718 MB / 5.89 GB, free: 74.45 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/18.69, allocations: 33.45 kB / 5.89 GB, free: 74.45 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/18.69, allocations: 1.062 kB / 5.89 GB, free: 74.45 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009314/18.7, allocations: 3.953 MB / 5.894 GB, free: 74.13 MB / 1.01 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.03436/18.73, allocations: 11.83 MB / 5.906 GB, free: 72.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/18.73, allocations: 4.812 kB / 5.906 GB, free: 72.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/18.73, allocations: 0.7119 MB / 5.906 GB, free: 72.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/18.73, allocations: 106.9 kB / 5.907 GB, free: 72.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005914/18.74, allocations: 94.41 kB / 5.907 GB, free: 72.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/18.74, allocations: 2.723 MB / 5.909 GB, free: 71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/18.74, allocations: 10.05 kB / 5.909 GB, free: 71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/18.75, allocations: 7.769 MB / 5.917 GB, free: 69.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005039/18.76, allocations: 1.17 MB / 5.918 GB, free: 69.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003282/18.76, allocations: 76.11 kB / 5.918 GB, free: 69.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00904/18.77, allocations: 498.8 kB / 5.919 GB, free: 69.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/18.77, allocations: 186.8 kB / 5.919 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009358/18.77, allocations: 124 kB / 5.919 GB, free: 69.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01027/18.78, allocations: 3.307 MB / 5.922 GB, free: 69.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.102e-06/18.78, allocations: 0 / 5.922 GB, free: 69.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01936/18.8, allocations: 2.942 MB / 5.925 GB, free: 69.02 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) * 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.02261/18.82, allocations: 11.88 MB / 5.937 GB, free: 65.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01694/18.84, allocations: 7.072 MB / 5.943 GB, free: 64.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/18.84, allocations: 3.188 kB / 5.943 GB, free: 64.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/18.84, allocations: 2.319 MB / 5.946 GB, free: 64.61 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01864/18.86, allocations: 2.919 MB / 5.949 GB, free: 64.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04333/18.91, allocations: 13.03 MB / 5.961 GB, free: 62.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009589/18.92, allocations: 4.492 MB / 5.966 GB, free: 61.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01939/18.94, allocations: 4.359 MB / 5.97 GB, free: 61.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006938/18.94, allocations: 2.272 MB / 5.972 GB, free: 61.36 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/18.94, allocations: 0 / 5.972 GB, free: 61.36 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.142/20.08, allocations: 200.5 MB / 6.168 GB, free: 107 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/20.09, allocations: 244.9 kB / 6.168 GB, free: 106.7 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.685/29.77, allocations: 0 / 6.168 GB, free: 106.7 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)