Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.432/2.432, allocations: 393.5 MB / 408.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001241, allocations: 193.5 kB / 0.4902 GB, free: 2.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 106.2 kB / 0.9396 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003758, allocations: 14.78 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.512, allocations: 2.217 GB / 3.446 GB, free: 213 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.513, allocations: 101.7 kB / 3.446 GB, free: 212.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.47/15.98, allocations: 2.466 GB / 5.913 GB, free: 165.2 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.665e-06/15.98, allocations: 2.5 kB / 5.913 GB, free: 165.2 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001346/15.98, allocations: 150.7 kB / 5.913 GB, free: 165.2 MB / 1.214 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.03457/16.02, allocations: 6.96 MB / 5.92 GB, free: 163.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/16.02, allocations: 13.44 kB / 5.92 GB, free: 163.2 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004273/16.02, allocations: 0.6462 MB / 5.92 GB, free: 163.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/16.03, allocations: 1.405 MB / 5.922 GB, free: 162.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02682/16.06, allocations: 7.21 MB / 5.929 GB, free: 162.1 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/16.06, allocations: 347.9 kB / 5.929 GB, free: 162.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/16.06, allocations: 474 kB / 5.929 GB, free: 162.1 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/16.08, allocations: 6.461 MB / 5.936 GB, free: 161.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/16.08, allocations: 8.844 kB / 5.936 GB, free: 161.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000805/16.09, allocations: 189.4 kB / 5.936 GB, free: 161.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002711/16.09, allocations: 216.3 kB / 5.936 GB, free: 161.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/16.1, allocations: 5.686 MB / 5.942 GB, free: 161.6 MB / 1.214 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.0552/16.16, allocations: 26.73 MB / 5.968 GB, free: 152.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007034/16.16, allocations: 4.042 MB / 5.972 GB, free: 151.7 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/16.16, allocations: 1.012 MB / 5.973 GB, free: 150.6 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004113/16.17, allocations: 2.218 MB / 5.975 GB, free: 150.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=313): time 5.23e-06/16.17, allocations: 0 / 5.975 GB, free: 150.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=317): time 0.02681/16.19, allocations: 11.6 MB / 5.986 GB, free: 148.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/16.19, allocations: 138.9 kB / 5.986 GB, free: 148.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009779/16.2, allocations: 4.294 MB / 5.991 GB, free: 148 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/16.21, allocations: 90.39 kB / 5.991 GB, free: 148 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003811/16.21, allocations: 2.493 MB / 5.993 GB, free: 147.1 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002345/16.21, allocations: 1.083 MB / 5.994 GB, free: 146.4 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/16.21, allocations: 65.19 kB / 5.994 GB, free: 146.4 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003145/16.21, allocations: 433.8 kB / 5.995 GB, free: 146.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/16.22, allocations: 1.758 MB / 5.996 GB, free: 146.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/16.22, allocations: 2.483 MB / 5.999 GB, free: 145.4 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/16.22, allocations: 2.271 MB / 6.001 GB, free: 145.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/16.22, allocations: 3.688 kB / 6.001 GB, free: 145.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01035/16.24, allocations: 4.986 MB / 6.006 GB, free: 144.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001414/16.24, allocations: 5.689 MB / 6.011 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/16.24, allocations: 14.34 kB / 6.011 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/16.24, allocations: 124.7 kB / 6.012 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/16.24, allocations: 0.7186 MB / 6.012 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/16.24, allocations: 2.786 MB / 6.015 GB, free: 137 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007987/16.25, allocations: 0.5674 MB / 6.015 GB, free: 137 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/16.25, allocations: 127.1 kB / 6.016 GB, free: 137 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/16.25, allocations: 7.219 kB / 6.016 GB, free: 137 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01117/16.26, allocations: 4.604 MB / 6.02 GB, free: 136.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/16.26, allocations: 15.95 kB / 6.02 GB, free: 136.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/16.26, allocations: 127.7 kB / 6.02 GB, free: 136.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/16.27, allocations: 0.7093 MB / 6.021 GB, free: 136.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/16.27, allocations: 2.18 MB / 6.023 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008046/16.28, allocations: 0.5394 MB / 6.024 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/16.28, allocations: 131.8 kB / 6.024 GB, free: 135.5 MB / 1.214 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.006939/16.29, allocations: 2.404 MB / 6.026 GB, free: 135.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/16.29, allocations: 463.1 kB / 6.027 GB, free: 135 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/16.3, allocations: 4.844 MB / 6.031 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/16.3, allocations: 32.38 kB / 6.031 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/16.3, allocations: 5.188 kB / 6.031 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008012/16.31, allocations: 4.072 MB / 6.035 GB, free: 134.4 MB / 1.214 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.03398/16.34, allocations: 12.01 MB / 6.047 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/16.34, allocations: 7.328 kB / 6.047 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00397/16.35, allocations: 0.6969 MB / 6.048 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/16.35, allocations: 113.4 kB / 6.048 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007833/16.35, allocations: 96.31 kB / 6.048 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/16.35, allocations: 2.769 MB / 6.051 GB, free: 131.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/16.35, allocations: 5.375 kB / 6.051 GB, free: 131.2 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/16.37, allocations: 7.669 MB / 6.058 GB, free: 129.9 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006533/16.38, allocations: 1.179 MB / 6.059 GB, free: 129.6 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003185/16.38, allocations: 80.23 kB / 6.059 GB, free: 129.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007553/16.39, allocations: 486 kB / 6.06 GB, free: 129.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/16.39, allocations: 197.7 kB / 6.06 GB, free: 129.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001094/16.39, allocations: 117 kB / 6.06 GB, free: 129.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.009651/16.4, allocations: 3.39 MB / 6.063 GB, free: 129.3 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.91e-07/16.4, allocations: 0 / 6.063 GB, free: 129.3 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0192/16.42, allocations: 2.936 MB / 6.066 GB, free: 129.3 MB / 1.214 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.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,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.02524/16.44, allocations: 11.78 MB / 6.078 GB, free: 125.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01801/16.46, allocations: 7.109 MB / 6.085 GB, free: 125.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/16.46, allocations: 7 kB / 6.085 GB, free: 125.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.006328/16.47, allocations: 2.378 MB / 6.087 GB, free: 124.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0198/16.49, allocations: 2.905 MB / 6.09 GB, free: 124.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06079/16.55, allocations: 32.87 MB / 6.122 GB, free: 102.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01082/16.56, allocations: 4.491 MB / 6.126 GB, free: 101.7 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0136/16.57, allocations: 2.656 MB / 6.129 GB, free: 101.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007638/16.58, allocations: 2.366 MB / 6.131 GB, free: 101.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.663e-06/16.58, allocations: 2.875 kB / 6.131 GB, free: 101.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/16.88, allocations: 185.8 MB / 6.313 GB, free: 23.12 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/16.88, allocations: 274.6 kB / 6.313 GB, free: 22.76 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/24.98, allocations: 0 / 6.313 GB, free: 22.76 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat does not exist to compare? outputFormat=mat