Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 180.9 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 86.33 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.699e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 106.4 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.563/6.793, allocations: 2.492 GB / 3.378 GB, free: 259 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/6.794, allocations: 87.95 kB / 3.378 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.081/14.87, allocations: 2.336 GB / 5.714 GB, free: 97.29 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.144e-06/14.87, allocations: 1.25 kB / 5.714 GB, free: 97.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001068/14.88, allocations: 150.7 kB / 5.714 GB, free: 97.27 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02163/14.9, allocations: 5.731 MB / 5.719 GB, free: 95.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/14.9, allocations: 10 kB / 5.719 GB, free: 95.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/14.91, allocations: 1.398 MB / 5.721 GB, free: 94.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/14.93, allocations: 7.088 MB / 5.728 GB, free: 94.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/14.93, allocations: 148.5 kB / 5.728 GB, free: 94.12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/14.93, allocations: 283.3 kB / 5.728 GB, free: 94.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01393/14.95, allocations: 5.227 MB / 5.733 GB, free: 94.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/14.96, allocations: 5.712 MB / 5.739 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/14.96, allocations: 6.094 kB / 5.739 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/14.97, allocations: 9.891 kB / 5.739 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/14.97, allocations: 215.2 kB / 5.739 GB, free: 93.7 MB / 0.9167 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.0509/15.02, allocations: 25.82 MB / 5.764 GB, free: 84.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006947/15.02, allocations: 4.755 MB / 5.769 GB, free: 82.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/15.03, allocations: 2.31 MB / 5.771 GB, free: 82.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/15.03, allocations: 1.008 MB / 5.772 GB, free: 81.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004061/15.03, allocations: 2.159 MB / 5.774 GB, free: 81.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=312): time 7.414e-06/15.03, allocations: 0 / 5.774 GB, free: 81.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=316): time 0.03098/15.07, allocations: 10.64 MB / 5.785 GB, free: 78.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/15.07, allocations: 194.8 kB / 5.785 GB, free: 78.74 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00859/15.07, allocations: 3.862 MB / 5.789 GB, free: 78.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009301/15.07, allocations: 33.2 kB / 5.789 GB, free: 78.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003197/15.08, allocations: 2.495 MB / 5.791 GB, free: 77.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/15.08, allocations: 1.042 MB / 5.792 GB, free: 76.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/15.08, allocations: 2.531 kB / 5.792 GB, free: 76.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003286/15.08, allocations: 438 kB / 5.792 GB, free: 76.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/15.08, allocations: 1.593 MB / 5.794 GB, free: 76.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/15.09, allocations: 2.374 MB / 5.796 GB, free: 75.78 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004236/15.09, allocations: 2.192 MB / 5.798 GB, free: 75.73 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/15.09, allocations: 6.406 kB / 5.798 GB, free: 75.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009984/15.1, allocations: 4.576 MB / 5.803 GB, free: 75.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001199/15.1, allocations: 5.829 MB / 5.809 GB, free: 69.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/15.1, allocations: 13.91 kB / 5.809 GB, free: 69.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/15.1, allocations: 127 kB / 5.809 GB, free: 69.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/15.11, allocations: 0.716 MB / 5.809 GB, free: 69.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/15.11, allocations: 2.69 MB / 5.812 GB, free: 67.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/15.11, allocations: 492.4 kB / 5.813 GB, free: 67.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/15.12, allocations: 125.7 kB / 5.813 GB, free: 67.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/15.12, allocations: 6.562 kB / 5.813 GB, free: 67.54 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00967/15.13, allocations: 4.144 MB / 5.817 GB, free: 67.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/15.13, allocations: 15.16 kB / 5.817 GB, free: 67.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/15.13, allocations: 121.5 kB / 5.817 GB, free: 67.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/15.13, allocations: 0.7045 MB / 5.818 GB, free: 67.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/15.13, allocations: 2.07 MB / 5.82 GB, free: 66.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/15.14, allocations: 472.6 kB / 5.82 GB, free: 66.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007301/15.14, allocations: 128.4 kB / 5.82 GB, free: 66.12 MB / 0.9167 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.001343/15.14, allocations: 251 kB / 5.82 GB, free: 65.95 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008533/15.15, allocations: 3.997 MB / 5.824 GB, free: 65.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/15.15, allocations: 454 kB / 5.825 GB, free: 65.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/15.16, allocations: 4.386 MB / 5.829 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/15.16, allocations: 33.19 kB / 5.829 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/15.16, allocations: 3.094 kB / 5.829 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006574/15.17, allocations: 3.725 MB / 5.833 GB, free: 64.88 MB / 0.9167 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.02281/15.19, allocations: 10.92 MB / 5.843 GB, free: 63.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/15.19, allocations: 3.031 kB / 5.843 GB, free: 63.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/15.19, allocations: 0.7044 MB / 5.844 GB, free: 63.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/15.19, allocations: 111.4 kB / 5.844 GB, free: 63.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004945/15.19, allocations: 51.75 kB / 5.844 GB, free: 63.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/15.2, allocations: 2.668 MB / 5.847 GB, free: 61.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/15.2, allocations: 6.5 kB / 5.847 GB, free: 61.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/15.21, allocations: 7.366 MB / 5.854 GB, free: 60.64 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003874/15.21, allocations: 1.169 MB / 5.855 GB, free: 60.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/15.21, allocations: 31.02 kB / 5.855 GB, free: 60.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005287/15.22, allocations: 439.8 kB / 5.856 GB, free: 60.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/15.22, allocations: 191.1 kB / 5.856 GB, free: 60.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004594/15.22, allocations: 124.3 kB / 5.856 GB, free: 60.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006158/15.23, allocations: 3.005 MB / 5.859 GB, free: 60.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-07/15.23, allocations: 0 / 5.859 GB, free: 60.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01485/15.24, allocations: 2.729 MB / 5.861 GB, free: 60.05 MB / 0.9167 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.01704/15.26, allocations: 11.65 MB / 5.873 GB, free: 56.67 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01019/15.27, allocations: 6.664 MB / 5.879 GB, free: 56.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/15.27, allocations: 6.281 kB / 5.879 GB, free: 56.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/15.27, allocations: 2.207 MB / 5.882 GB, free: 55.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/15.29, allocations: 2.759 MB / 5.884 GB, free: 55.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/15.32, allocations: 12.91 MB / 5.897 GB, free: 53.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005035/15.33, allocations: 4.512 MB / 5.901 GB, free: 52.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01439/15.34, allocations: 4.305 MB / 5.905 GB, free: 52.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006005/15.35, allocations: 2.275 MB / 5.908 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of SimCode: time 1.233e-06/15.35, allocations: 3.281 kB / 5.908 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9031/16.25, allocations: 164.5 MB / 6.068 GB, free: 114.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/16.25, allocations: 194.7 kB / 6.068 GB, free: 114.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/24.46, allocations: 0 / 6.068 GB, free: 114.4 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)