Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001152/0.001152, allocations: 181.1 kB / 498.1 MB, free: 5.734 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009673/0.0009674, allocations: 88.27 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 7 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.581/5.903, allocations: 2.216 GB / 3.439 GB, free: 268.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/5.903, allocations: 95.95 kB / 3.439 GB, free: 268.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.861/14.76, allocations: 2.466 GB / 5.906 GB, free: 23.38 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.024e-06/14.76, allocations: 0 / 5.906 GB, free: 23.38 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001367/14.77, allocations: 147.9 kB / 5.906 GB, free: 23.23 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.02973/14.8, allocations: 6.964 MB / 5.912 GB, free: 16.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/14.8, allocations: 12.03 kB / 5.912 GB, free: 16.19 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003826/14.8, allocations: 0.6449 MB / 5.913 GB, free: 15.53 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/14.81, allocations: 1.405 MB / 5.914 GB, free: 14.12 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/14.83, allocations: 7.206 MB / 5.922 GB, free: 6.824 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007219/14.83, allocations: 357 kB / 5.922 GB, free: 6.473 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00336/14.84, allocations: 463.9 kB / 5.922 GB, free: 6.02 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/14.86, allocations: 6.457 MB / 5.929 GB, free: 15.44 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003023/14.86, allocations: 7.938 kB / 5.929 GB, free: 15.43 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/14.86, allocations: 192 kB / 5.929 GB, free: 15.24 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/14.86, allocations: 209 kB / 5.929 GB, free: 15.04 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/14.88, allocations: 5.688 MB / 5.935 GB, free: 9.332 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.8699/15.75, allocations: 26.72 MB / 5.961 GB, free: 156.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007365/15.76, allocations: 4.046 MB / 5.965 GB, free: 156.3 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/15.76, allocations: 1.009 MB / 5.966 GB, free: 155.2 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004893/15.76, allocations: 2.208 MB / 5.968 GB, free: 155.1 MB / 1.214 GB Notification: Performance of pre-optimization done (n=313): time 8.666e-06/15.76, allocations: 1.594 kB / 5.968 GB, free: 155.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=317): time 0.02616/15.79, allocations: 11.61 MB / 5.979 GB, free: 153.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/15.79, allocations: 141.4 kB / 5.979 GB, free: 153.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007917/15.8, allocations: 4.285 MB / 5.983 GB, free: 152.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/15.8, allocations: 90.02 kB / 5.983 GB, free: 152.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/15.8, allocations: 2.486 MB / 5.986 GB, free: 152.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/15.8, allocations: 1.083 MB / 5.987 GB, free: 151.6 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/15.8, allocations: 61.56 kB / 5.987 GB, free: 151.6 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002448/15.8, allocations: 437.2 kB / 5.987 GB, free: 151.3 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/15.81, allocations: 1.757 MB / 5.989 GB, free: 151.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/15.81, allocations: 2.484 MB / 5.992 GB, free: 150.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/15.81, allocations: 2.263 MB / 5.994 GB, free: 150.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/15.81, allocations: 5.375 kB / 5.994 GB, free: 150.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.00844/15.82, allocations: 4.986 MB / 5.999 GB, free: 150.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001114/15.82, allocations: 5.692 MB / 6.004 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/15.82, allocations: 10.62 kB / 6.004 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004554/15.82, allocations: 129.8 kB / 6.004 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/15.82, allocations: 0.7191 MB / 6.005 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/15.83, allocations: 2.787 MB / 6.008 GB, free: 142.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/15.83, allocations: 0.564 MB / 6.008 GB, free: 142.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006227/15.83, allocations: 127.9 kB / 6.008 GB, free: 142.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/15.83, allocations: 6.531 kB / 6.008 GB, free: 142.2 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0075/15.84, allocations: 4.612 MB / 6.013 GB, free: 142 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/15.84, allocations: 18 kB / 6.013 GB, free: 142 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/15.84, allocations: 118.2 kB / 6.013 GB, free: 142 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/15.85, allocations: 0.71 MB / 6.014 GB, free: 142 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/15.85, allocations: 2.183 MB / 6.016 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006948/15.85, allocations: 0.5432 MB / 6.016 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000759/15.85, allocations: 132.1 kB / 6.017 GB, free: 140.7 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.006338/15.86, allocations: 2.405 MB / 6.019 GB, free: 140.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/15.86, allocations: 466.7 kB / 6.019 GB, free: 140.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/15.88, allocations: 4.844 MB / 6.024 GB, free: 139.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/15.88, allocations: 33.61 kB / 6.024 GB, free: 139.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/15.88, allocations: 0 / 6.024 GB, free: 139.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006787/15.88, allocations: 4.074 MB / 6.028 GB, free: 139.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 postOpt removeSimpleEquations (simulation): time 0.03147/15.91, allocations: 12.02 MB / 6.04 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/15.91, allocations: 2.812 kB / 6.04 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/15.92, allocations: 0.7037 MB / 6.041 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/15.92, allocations: 113.3 kB / 6.041 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006235/15.92, allocations: 86.61 kB / 6.041 GB, free: 138.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/15.92, allocations: 2.766 MB / 6.043 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/15.92, allocations: 9.094 kB / 6.043 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/15.93, allocations: 7.67 MB / 6.051 GB, free: 135.1 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005105/15.94, allocations: 1.175 MB / 6.052 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002014/15.94, allocations: 83.17 kB / 6.052 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006016/15.95, allocations: 492.4 kB / 6.053 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/15.95, allocations: 190.5 kB / 6.053 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004594/15.95, allocations: 124.6 kB / 6.053 GB, free: 134.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.008244/15.95, allocations: 3.382 MB / 6.056 GB, free: 134.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.21e-07/15.95, allocations: 0 / 6.056 GB, free: 134.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01612/15.97, allocations: 2.944 MB / 6.059 GB, free: 134.6 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.02017/15.99, allocations: 11.77 MB / 6.071 GB, free: 131.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01331/16, allocations: 7.105 MB / 6.078 GB, free: 130.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/16, allocations: 5.75 kB / 6.078 GB, free: 130.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/16.01, allocations: 2.38 MB / 6.08 GB, free: 130.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01589/16.02, allocations: 2.912 MB / 6.083 GB, free: 130.2 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0533/16.08, allocations: 32.86 MB / 6.115 GB, free: 107.9 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/16.09, allocations: 4.488 MB / 6.119 GB, free: 107.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01519/16.1, allocations: 2.653 MB / 6.122 GB, free: 107.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007964/16.11, allocations: 2.374 MB / 6.124 GB, free: 107 MB / 1.214 GB Notification: Performance of SimCode: time 2.875e-06/16.11, allocations: 1.312 kB / 6.124 GB, free: 107 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/16.4, allocations: 185.8 MB / 6.306 GB, free: 51.82 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/16.4, allocations: 273 kB / 6.306 GB, free: 51.45 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/24.57, allocations: 0 / 6.306 GB, free: 51.45 MB / 1.214 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat does not exist to compare? outputFormat=mat