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.523/1.523, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001162/0.001163, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009036/0.000904, allocations: 97.31 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.611e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2399, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.083/7.323, allocations: 2.492 GB / 3.384 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/7.323, allocations: 90.27 kB / 3.384 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.496/16.82, allocations: 2.357 GB / 5.741 GB, free: 88.29 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.577e-06/16.82, allocations: 0 / 5.741 GB, free: 88.29 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001215/16.82, allocations: 148.7 kB / 5.741 GB, free: 88.27 MB / 0.9323 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.02219/16.84, allocations: 5.747 MB / 5.747 GB, free: 86.15 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/16.84, allocations: 10.53 kB / 5.747 GB, free: 86.15 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004082/16.85, allocations: 0.6391 MB / 5.748 GB, free: 86.08 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/16.86, allocations: 1.4 MB / 5.749 GB, free: 85.73 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/16.88, allocations: 7.081 MB / 5.756 GB, free: 84.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/16.88, allocations: 360.3 kB / 5.756 GB, free: 84.85 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/16.88, allocations: 479.3 kB / 5.757 GB, free: 84.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/16.9, allocations: 6.382 MB / 5.763 GB, free: 84.44 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/16.9, allocations: 12.02 kB / 5.763 GB, free: 84.44 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007942/16.9, allocations: 189.7 kB / 5.763 GB, free: 84.44 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/16.9, allocations: 218.3 kB / 5.763 GB, free: 84.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/16.91, allocations: 5.613 MB / 5.769 GB, free: 84.38 MB / 0.9323 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.04916/16.96, allocations: 26.65 MB / 5.795 GB, free: 74.89 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/16.97, allocations: 3.797 MB / 5.799 GB, free: 74.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/16.97, allocations: 2.431 MB / 5.801 GB, free: 74.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/16.97, allocations: 1.007 MB / 5.802 GB, free: 73.55 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00468/16.98, allocations: 2.148 MB / 5.804 GB, free: 73.39 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.544e-06/16.98, allocations: 0 / 5.804 GB, free: 73.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.02592/17, allocations: 9.449 MB / 5.813 GB, free: 71.64 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/17, allocations: 141.5 kB / 5.813 GB, free: 71.51 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/17.01, allocations: 4.229 MB / 5.818 GB, free: 71.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/17.01, allocations: 91.05 kB / 5.818 GB, free: 71.17 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004566/17.02, allocations: 2.504 MB / 5.82 GB, free: 70.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002705/17.02, allocations: 1.082 MB / 5.821 GB, free: 69.65 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008168/17.02, allocations: 61.41 kB / 5.821 GB, free: 69.65 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005058/17.02, allocations: 434.8 kB / 5.822 GB, free: 69.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/17.03, allocations: 1.68 MB / 5.823 GB, free: 69.33 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004193/17.03, allocations: 2.475 MB / 5.826 GB, free: 68.58 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/17.03, allocations: 2.213 MB / 5.828 GB, free: 68.46 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/17.03, allocations: 3.812 kB / 5.828 GB, free: 68.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01223/17.05, allocations: 4.838 MB / 5.833 GB, free: 68.04 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002129/17.05, allocations: 5.678 MB / 5.838 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.387e-05/17.05, allocations: 15.34 kB / 5.838 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/17.05, allocations: 124.1 kB / 5.838 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/17.05, allocations: 0.7168 MB / 5.839 GB, free: 62.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/17.06, allocations: 2.751 MB / 5.842 GB, free: 60.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007531/17.06, allocations: 0.5506 MB / 5.842 GB, free: 60.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009779/17.06, allocations: 122.3 kB / 5.842 GB, free: 60.12 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/17.06, allocations: 4.719 kB / 5.842 GB, free: 60.12 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009997/17.07, allocations: 4.457 MB / 5.847 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/17.07, allocations: 16.28 kB / 5.847 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/17.08, allocations: 126.7 kB / 5.847 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/17.08, allocations: 0.6978 MB / 5.848 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/17.08, allocations: 2.143 MB / 5.85 GB, free: 58.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007215/17.09, allocations: 0.5247 MB / 5.85 GB, free: 58.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009487/17.09, allocations: 128.4 kB / 5.85 GB, free: 58.57 MB / 0.9323 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.001976/17.09, allocations: 365.3 kB / 5.851 GB, free: 58.39 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/17.09, allocations: 465.9 kB / 5.851 GB, free: 58.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/17.1, allocations: 4.712 MB / 5.856 GB, free: 57.88 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/17.1, allocations: 29.16 kB / 5.856 GB, free: 57.88 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/17.1, allocations: 0 / 5.856 GB, free: 57.88 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006491/17.11, allocations: 3.933 MB / 5.859 GB, free: 57.55 MB / 0.9323 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.02824/17.14, allocations: 11.66 MB / 5.871 GB, free: 53.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/17.14, allocations: 6.219 kB / 5.871 GB, free: 53.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/17.14, allocations: 0.7049 MB / 5.872 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/17.14, allocations: 113.4 kB / 5.872 GB, free: 53.65 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006427/17.14, allocations: 94.16 kB / 5.872 GB, free: 53.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/17.15, allocations: 2.724 MB / 5.874 GB, free: 51.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/17.15, allocations: 12.03 kB / 5.874 GB, free: 51.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/17.16, allocations: 7.749 MB / 5.882 GB, free: 47.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005284/17.17, allocations: 1.189 MB / 5.883 GB, free: 46.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/17.17, allocations: 77.2 kB / 5.883 GB, free: 46.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006072/17.17, allocations: 496.2 kB / 5.884 GB, free: 46.84 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/17.17, allocations: 194.9 kB / 5.884 GB, free: 46.81 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006943/17.17, allocations: 117.1 kB / 5.884 GB, free: 46.79 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007872/17.18, allocations: 3.337 MB / 5.887 GB, free: 45.58 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.61e-07/17.18, allocations: 0 / 5.887 GB, free: 45.58 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01642/17.2, allocations: 2.94 MB / 5.89 GB, free: 45.23 MB / 0.9323 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.02283/17.22, allocations: 11.86 MB / 5.902 GB, free: 39.28 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01541/17.24, allocations: 7.031 MB / 5.909 GB, free: 35.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/17.24, allocations: 4 kB / 5.909 GB, free: 35.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004472/17.24, allocations: 2.316 MB / 5.911 GB, free: 33.63 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01803/17.26, allocations: 2.92 MB / 5.914 GB, free: 31.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/17.3, allocations: 13.09 MB / 5.926 GB, free: 20.82 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/17.31, allocations: 4.512 MB / 5.931 GB, free: 17.36 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01799/17.33, allocations: 4.355 MB / 5.935 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006294/17.34, allocations: 2.283 MB / 5.937 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of SimCode: time 1.974e-06/17.34, allocations: 4 kB / 5.937 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.054/18.39, allocations: 200.6 MB / 6.133 GB, free: 99.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/18.39, allocations: 254.5 kB / 6.133 GB, free: 99.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/27.83, allocations: 2.25 kB / 6.133 GB, free: 99.07 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)