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.329/2.329, allocations: 390.3 MB / 402.8 MB, free: 6.742 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.001492/0.001492, allocations: 176.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.00105/0.00105, allocations: 87.95 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.237e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3537, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.458/6.812, allocations: 2.217 GB / 3.436 GB, free: 68.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/6.812, allocations: 87.95 kB / 3.436 GB, free: 68.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.86/17.67, allocations: 2.463 GB / 5.899 GB, free: 168.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.523e-06/17.67, allocations: 0 / 5.899 GB, free: 168.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001621/17.67, allocations: 155 kB / 5.899 GB, free: 168.7 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.02464/17.7, allocations: 5.771 MB / 5.904 GB, free: 166.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/17.7, allocations: 9.938 kB / 5.904 GB, free: 166.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003698/17.7, allocations: 0.6378 MB / 5.905 GB, free: 166.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/17.71, allocations: 1.398 MB / 5.906 GB, free: 166.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02764/17.74, allocations: 7.161 MB / 5.913 GB, free: 165.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/17.74, allocations: 353.9 kB / 5.914 GB, free: 165.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/17.75, allocations: 464.5 kB / 5.914 GB, free: 165.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/17.77, allocations: 6.369 MB / 5.92 GB, free: 165.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003724/17.77, allocations: 14.39 kB / 5.92 GB, free: 165.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/17.77, allocations: 192.5 kB / 5.921 GB, free: 165.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/17.77, allocations: 215.6 kB / 5.921 GB, free: 165.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/17.79, allocations: 5.566 MB / 5.926 GB, free: 165 MB / 1.214 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.05551/17.84, allocations: 26.74 MB / 5.952 GB, free: 155.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/17.85, allocations: 3.997 MB / 5.956 GB, free: 155.1 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/17.85, allocations: 2.447 MB / 5.959 GB, free: 155.1 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/17.85, allocations: 1.011 MB / 5.96 GB, free: 154 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004355/17.86, allocations: 2.179 MB / 5.962 GB, free: 153.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=313): time 5.47e-06/17.86, allocations: 0 / 5.962 GB, free: 153.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=317): time 0.02479/17.88, allocations: 9.58 MB / 5.971 GB, free: 152.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/17.88, allocations: 142 kB / 5.971 GB, free: 152 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/17.89, allocations: 4.244 MB / 5.975 GB, free: 151.7 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/17.9, allocations: 91.08 kB / 5.975 GB, free: 151.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003816/17.9, allocations: 2.481 MB / 5.978 GB, free: 150.8 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/17.9, allocations: 1.092 MB / 5.979 GB, free: 150.1 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/17.9, allocations: 61.66 kB / 5.979 GB, free: 150.1 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003841/17.9, allocations: 434 kB / 5.979 GB, free: 149.8 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/17.91, allocations: 1.721 MB / 5.981 GB, free: 149.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/17.91, allocations: 2.438 MB / 5.983 GB, free: 149.1 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/17.91, allocations: 2.241 MB / 5.986 GB, free: 149 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/17.91, allocations: 6.219 kB / 5.986 GB, free: 149 MB / 1.214 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01072/17.92, allocations: 4.909 MB / 5.99 GB, free: 148.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001627/17.93, allocations: 5.689 MB / 5.996 GB, free: 142.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/17.93, allocations: 13.22 kB / 5.996 GB, free: 142.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/17.93, allocations: 122.9 kB / 5.996 GB, free: 142.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/17.93, allocations: 0.7153 MB / 5.997 GB, free: 142.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/17.93, allocations: 2.743 MB / 6 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00824/17.94, allocations: 0.56 MB / 6 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/17.94, allocations: 125.9 kB / 6 GB, free: 140.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/17.94, allocations: 3.25 kB / 6 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01159/17.95, allocations: 4.541 MB / 6.005 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.139e-05/17.95, allocations: 11.09 kB / 6.005 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/17.95, allocations: 127.4 kB / 6.005 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/17.96, allocations: 0.7084 MB / 6.005 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/17.96, allocations: 2.137 MB / 6.008 GB, free: 139.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/17.97, allocations: 0.5504 MB / 6.008 GB, free: 139.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/17.97, allocations: 127.1 kB / 6.008 GB, free: 139.1 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 () * 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.002031/17.97, allocations: 358.6 kB / 6.009 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002651/17.97, allocations: 465.2 kB / 6.009 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/17.99, allocations: 4.783 MB / 6.014 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/17.99, allocations: 31.7 kB / 6.014 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/17.99, allocations: 3.344 kB / 6.014 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007141/17.99, allocations: 4.01 MB / 6.018 GB, free: 137 MB / 1.214 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.03222/18.03, allocations: 11.95 MB / 6.029 GB, free: 131.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/18.03, allocations: 13.62 kB / 6.029 GB, free: 131.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/18.03, allocations: 0.7005 MB / 6.03 GB, free: 131.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/18.03, allocations: 110.7 kB / 6.03 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005914/18.03, allocations: 96.03 kB / 6.03 GB, free: 131.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/18.03, allocations: 2.727 MB / 6.033 GB, free: 129.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/18.03, allocations: 4.188 kB / 6.033 GB, free: 129.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/18.05, allocations: 7.579 MB / 6.04 GB, free: 125.9 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005951/18.05, allocations: 1.178 MB / 6.041 GB, free: 125.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/18.06, allocations: 84.22 kB / 6.041 GB, free: 125.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006901/18.06, allocations: 488.9 kB / 6.042 GB, free: 125.1 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/18.06, allocations: 196.9 kB / 6.042 GB, free: 125.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006793/18.06, allocations: 126.3 kB / 6.042 GB, free: 125.1 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01031/18.07, allocations: 3.335 MB / 6.045 GB, free: 123.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.32e-07/18.07, allocations: 0 / 6.045 GB, free: 123.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02355/18.1, allocations: 2.94 MB / 6.048 GB, free: 123.5 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) * 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.02517/18.12, allocations: 11.69 MB / 6.06 GB, free: 117.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01683/18.14, allocations: 7.146 MB / 6.067 GB, free: 114.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.447e-05/18.14, allocations: 0 / 6.067 GB, free: 114.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/18.15, allocations: 2.355 MB / 6.069 GB, free: 113.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01928/18.16, allocations: 2.91 MB / 6.072 GB, free: 113.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/18.21, allocations: 13.26 MB / 6.085 GB, free: 105.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008101/18.22, allocations: 4.498 MB / 6.089 GB, free: 102.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01726/18.23, allocations: 4.407 MB / 6.094 GB, free: 99.61 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006436/18.24, allocations: 2.291 MB / 6.096 GB, free: 97.49 MB / 1.214 GB Notification: Performance of SimCode: time 1.513e-06/18.24, allocations: 0 / 6.096 GB, free: 97.49 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.32/19.56, allocations: 200.3 MB / 6.291 GB, free: 186.7 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/19.56, allocations: 244.9 kB / 6.292 GB, free: 186.4 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/28.95, allocations: 0 / 6.292 GB, free: 186.4 MB / 1.229 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