Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.397/2.397, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001281/0.001281, allocations: 171.5 kB / 0.4901 GB, free: 2.23 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.474/1.474, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009861/0.0009859, allocations: 92.27 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 11.12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.961/5.245, allocations: 2.209 GB / 3.438 GB, free: 181.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/5.246, allocations: 95.7 kB / 3.438 GB, free: 181.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.612/12.86, allocations: 2.093 GB / 5.532 GB, free: 196.2 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.037e-06/12.86, allocations: 0 / 5.532 GB, free: 196.2 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001265/12.86, allocations: 139.3 kB / 5.532 GB, free: 196.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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.0276/12.89, allocations: 6.367 MB / 5.538 GB, free: 194.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/12.89, allocations: 7.031 kB / 5.538 GB, free: 194.1 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003243/12.89, allocations: 0.5557 MB / 5.539 GB, free: 194 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009791/12.9, allocations: 1.244 MB / 5.54 GB, free: 193.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/12.92, allocations: 6.812 MB / 5.547 GB, free: 192.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006668/12.92, allocations: 303.5 kB / 5.547 GB, free: 192.9 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002949/12.93, allocations: 409.6 kB / 5.547 GB, free: 192.9 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/12.95, allocations: 5.599 MB / 5.553 GB, free: 192.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/12.95, allocations: 13.16 kB / 5.553 GB, free: 192.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/12.95, allocations: 161.4 kB / 5.553 GB, free: 192.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/12.95, allocations: 195.5 kB / 5.553 GB, free: 192.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/12.96, allocations: 4.904 MB / 5.558 GB, free: 192.5 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.04072/13, allocations: 24.13 MB / 5.581 GB, free: 183.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005391/13.01, allocations: 3.611 MB / 5.585 GB, free: 182.8 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/13.01, allocations: 1.005 MB / 5.586 GB, free: 181.7 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003437/13.01, allocations: 1.909 MB / 5.588 GB, free: 181.6 MB / 1.214 GB Notification: Performance of pre-optimization done (n=273): time 6.632e-06/13.01, allocations: 0 / 5.588 GB, free: 181.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=277): time 0.0244/13.03, allocations: 9.933 MB / 5.597 GB, free: 179.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/13.03, allocations: 137.8 kB / 5.598 GB, free: 179.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/13.05, allocations: 3.939 MB / 5.601 GB, free: 179.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0008793/13.05, allocations: 87.14 kB / 5.602 GB, free: 179.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003582/13.05, allocations: 2.226 MB / 5.604 GB, free: 178.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00193/13.05, allocations: 0.9573 MB / 5.605 GB, free: 177.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/13.05, allocations: 54.34 kB / 5.605 GB, free: 177.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003835/13.05, allocations: 421.5 kB / 5.605 GB, free: 177.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/13.06, allocations: 1.505 MB / 5.607 GB, free: 177.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/13.06, allocations: 2.159 MB / 5.609 GB, free: 177 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/13.06, allocations: 1.968 MB / 5.611 GB, free: 176.9 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/13.06, allocations: 3.531 kB / 5.611 GB, free: 176.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01026/13.07, allocations: 4.369 MB / 5.615 GB, free: 176.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001382/13.08, allocations: 5.202 MB / 5.62 GB, free: 171.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/13.08, allocations: 18.45 kB / 5.62 GB, free: 171.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/13.08, allocations: 119.7 kB / 5.62 GB, free: 171.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/13.08, allocations: 0.6255 MB / 5.621 GB, free: 171.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/13.08, allocations: 2.782 MB / 5.623 GB, free: 169.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007532/13.09, allocations: 0.5141 MB / 5.624 GB, free: 169.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008388/13.09, allocations: 121.1 kB / 5.624 GB, free: 169.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/13.09, allocations: 6.562 kB / 5.624 GB, free: 169.2 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008784/13.1, allocations: 4.019 MB / 5.628 GB, free: 169.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/13.1, allocations: 17.03 kB / 5.628 GB, free: 169.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/13.1, allocations: 121.6 kB / 5.628 GB, free: 169 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/13.1, allocations: 0.6225 MB / 5.629 GB, free: 169 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/13.1, allocations: 2.177 MB / 5.631 GB, free: 167.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/13.11, allocations: 0.5021 MB / 5.631 GB, free: 167.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007483/13.11, allocations: 113.2 kB / 5.631 GB, free: 167.7 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (336): * Single equations (assignments): 332 * 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.005849/13.12, allocations: 2.163 MB / 5.634 GB, free: 167.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/13.12, allocations: 430.7 kB / 5.634 GB, free: 167.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009759/13.13, allocations: 4.18 MB / 5.638 GB, free: 166.9 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/13.13, allocations: 26.31 kB / 5.638 GB, free: 166.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/13.13, allocations: 3.812 kB / 5.638 GB, free: 166.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005644/13.14, allocations: 3.52 MB / 5.641 GB, free: 166.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.02649/13.16, allocations: 10.58 MB / 5.652 GB, free: 165.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/13.16, allocations: 6.375 kB / 5.652 GB, free: 165.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/13.17, allocations: 0.6175 MB / 5.652 GB, free: 165.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/13.17, allocations: 114.5 kB / 5.653 GB, free: 165.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004784/13.17, allocations: 85.95 kB / 5.653 GB, free: 165.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/13.17, allocations: 2.763 MB / 5.655 GB, free: 163.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/13.17, allocations: 7.531 kB / 5.655 GB, free: 163.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/13.18, allocations: 6.629 MB / 5.662 GB, free: 162 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006283/13.19, allocations: 1.072 MB / 5.663 GB, free: 161.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00275/13.19, allocations: 77.08 kB / 5.663 GB, free: 161.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007157/13.2, allocations: 447.7 kB / 5.663 GB, free: 161.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/13.2, allocations: 176.5 kB / 5.664 GB, free: 161.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006512/13.2, allocations: 118.4 kB / 5.664 GB, free: 161.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.008674/13.21, allocations: 3.119 MB / 5.667 GB, free: 160.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.11e-07/13.21, allocations: 0 / 5.667 GB, free: 160.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01678/13.22, allocations: 2.742 MB / 5.669 GB, free: 159.8 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 (266): * Single equations (assignments): 258 * 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.01944/13.24, allocations: 10.69 MB / 5.68 GB, free: 154.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01163/13.26, allocations: 6.206 MB / 5.686 GB, free: 151.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/13.26, allocations: 3.625 kB / 5.686 GB, free: 151.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/13.26, allocations: 2.072 MB / 5.688 GB, free: 151.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01556/13.27, allocations: 2.785 MB / 5.691 GB, free: 150.7 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/13.32, allocations: 29.36 MB / 5.719 GB, free: 128.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007966/13.33, allocations: 4.041 MB / 5.723 GB, free: 127 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01084/13.34, allocations: 2.401 MB / 5.726 GB, free: 126.9 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006026/13.35, allocations: 2.102 MB / 5.728 GB, free: 125.2 MB / 1.214 GB Notification: Performance of SimCode: time 1.363e-06/13.35, allocations: 0 / 5.728 GB, free: 125.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/14.37, allocations: 174.2 MB / 5.898 GB, free: 193.5 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/14.37, allocations: 271.6 kB / 5.898 GB, free: 193.2 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/22.02, allocations: 0 / 5.898 GB, free: 193.2 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat does not exist to compare? outputFormat=mat