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.494/2.494, allocations: 390.5 MB / 398 MB, free: 10.93 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.001533/0.001533, allocations: 175.2 kB / 491.2 MB, free: 1.586 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.783/1.783, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001146/0.001146, allocations: 91.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.061e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/6.451, allocations: 2.216 GB / 3.429 GB, free: 84.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/6.451, allocations: 92.84 kB / 3.429 GB, free: 84.61 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.27/16.72, allocations: 2.441 GB / 5.87 GB, free: 160.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.695e-06/16.72, allocations: 1.469 kB / 5.87 GB, free: 160.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00152/16.73, allocations: 151.2 kB / 5.87 GB, free: 160.8 MB / 1.198 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.0285/16.75, allocations: 5.766 MB / 5.876 GB, free: 158.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/16.75, allocations: 11.47 kB / 5.876 GB, free: 158.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/16.77, allocations: 1.397 MB / 5.877 GB, free: 158.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/16.79, allocations: 7.163 MB / 5.884 GB, free: 157.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/16.79, allocations: 147.2 kB / 5.884 GB, free: 157.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/16.8, allocations: 279.9 kB / 5.885 GB, free: 157.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01564/16.81, allocations: 5.204 MB / 5.89 GB, free: 157.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/16.83, allocations: 5.698 MB / 5.895 GB, free: 157.2 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004979/16.83, allocations: 3.188 kB / 5.895 GB, free: 157.2 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002711/16.84, allocations: 8.766 kB / 5.895 GB, free: 157.2 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/16.84, allocations: 218.9 kB / 5.895 GB, free: 157.2 MB / 1.198 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.05722/16.89, allocations: 25.83 MB / 5.921 GB, free: 147.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00713/16.9, allocations: 4.912 MB / 5.925 GB, free: 146.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003859/16.91, allocations: 2.326 MB / 5.928 GB, free: 146.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/16.91, allocations: 1.005 MB / 5.929 GB, free: 145.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004225/16.91, allocations: 2.161 MB / 5.931 GB, free: 145 MB / 1.198 GB Notification: Performance of pre-optimization done (n=312): time 1.02e-05/16.91, allocations: 0 / 5.931 GB, free: 145 MB / 1.198 GB Notification: Performance of matching and sorting (n=316): time 0.03469/16.95, allocations: 10.7 MB / 5.941 GB, free: 142.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/16.95, allocations: 194 kB / 5.941 GB, free: 142.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009696/16.96, allocations: 3.869 MB / 5.945 GB, free: 141.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001287/16.96, allocations: 31.27 kB / 5.945 GB, free: 141.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003916/16.96, allocations: 2.485 MB / 5.948 GB, free: 140.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002692/16.96, allocations: 1.043 MB / 5.949 GB, free: 140.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/16.96, allocations: 3.75 kB / 5.949 GB, free: 140.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003901/16.96, allocations: 437.6 kB / 5.949 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/16.97, allocations: 1.609 MB / 5.951 GB, free: 139.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/16.97, allocations: 2.321 MB / 5.953 GB, free: 139.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/16.97, allocations: 2.195 MB / 5.955 GB, free: 139.2 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/16.97, allocations: 7.109 kB / 5.955 GB, free: 139.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008979/16.98, allocations: 4.617 MB / 5.96 GB, free: 138.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/16.99, allocations: 5.838 MB / 5.965 GB, free: 132.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/16.99, allocations: 14.81 kB / 5.965 GB, free: 132.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/16.99, allocations: 130.3 kB / 5.965 GB, free: 132.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/16.99, allocations: 0.7167 MB / 5.966 GB, free: 132.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/16.99, allocations: 2.684 MB / 5.969 GB, free: 131 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006875/17, allocations: 0.4906 MB / 5.969 GB, free: 131 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008914/17, allocations: 130.9 kB / 5.969 GB, free: 131 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/17, allocations: 3.219 kB / 5.969 GB, free: 131 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007612/17.01, allocations: 4.178 MB / 5.973 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/17.01, allocations: 14.36 kB / 5.973 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/17.01, allocations: 123.8 kB / 5.974 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/17.01, allocations: 0.7044 MB / 5.974 GB, free: 130.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/17.01, allocations: 2.079 MB / 5.976 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/17.02, allocations: 490.6 kB / 5.977 GB, free: 129.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/17.02, allocations: 130.2 kB / 5.977 GB, free: 129.5 MB / 1.198 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.001517/17.02, allocations: 244.4 kB / 5.977 GB, free: 129.4 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01056/17.03, allocations: 4.032 MB / 5.981 GB, free: 129 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/17.03, allocations: 455.3 kB / 5.981 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/17.04, allocations: 4.416 MB / 5.986 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/17.04, allocations: 30.78 kB / 5.986 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/17.04, allocations: 9.828 kB / 5.986 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006695/17.05, allocations: 3.746 MB / 5.989 GB, free: 128.3 MB / 1.198 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.02701/17.08, allocations: 11.13 MB / 6 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/17.08, allocations: 2.125 kB / 6 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003579/17.08, allocations: 0.6969 MB / 6.001 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/17.08, allocations: 111.6 kB / 6.001 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005929/17.08, allocations: 58.56 kB / 6.001 GB, free: 127 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/17.09, allocations: 2.65 MB / 6.004 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/17.09, allocations: 8.906 kB / 6.004 GB, free: 125.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/17.1, allocations: 7.17 MB / 6.011 GB, free: 121.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004348/17.1, allocations: 1.146 MB / 6.012 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002113/17.11, allocations: 29.59 kB / 6.012 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005946/17.11, allocations: 446.3 kB / 6.012 GB, free: 121.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/17.11, allocations: 188.8 kB / 6.013 GB, free: 121.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005644/17.11, allocations: 121.7 kB / 6.013 GB, free: 121.2 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.007521/17.12, allocations: 3.008 MB / 6.016 GB, free: 120.1 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.623e-06/17.12, allocations: 0 / 6.016 GB, free: 120.1 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01697/17.14, allocations: 2.723 MB / 6.018 GB, free: 119.9 MB / 1.198 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.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) * 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.02094/17.16, allocations: 11.46 MB / 6.029 GB, free: 114.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01654/17.17, allocations: 6.708 MB / 6.036 GB, free: 111.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/17.17, allocations: 3.438 kB / 6.036 GB, free: 111.7 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003912/17.18, allocations: 2.21 MB / 6.038 GB, free: 110.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01683/17.2, allocations: 2.744 MB / 6.041 GB, free: 110.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0434/17.24, allocations: 12.91 MB / 6.053 GB, free: 106.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008936/17.25, allocations: 4.499 MB / 6.058 GB, free: 104.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01806/17.27, allocations: 4.371 MB / 6.062 GB, free: 103.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00624/17.27, allocations: 2.286 MB / 6.064 GB, free: 101.7 MB / 1.198 GB Notification: Performance of SimCode: time 1.472e-06/17.27, allocations: 0 / 6.064 GB, free: 101.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.246/18.52, allocations: 164 MB / 6.225 GB, free: 177.6 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/18.52, allocations: 191.8 kB / 6.225 GB, free: 177.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/26.94, allocations: 0 / 6.225 GB, free: 177.4 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