Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.25/2.25, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001159/0.001159, allocations: 184.6 kB / 487.4 MB, free: 5.035 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.662/1.662, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009257, allocations: 118.9 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.274e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.336, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.778/6.114, allocations: 2.208 GB / 3.414 GB, free: 126.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/6.115, allocations: 91.94 kB / 3.414 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.353/14.47, allocations: 2.072 GB / 5.486 GB, free: 198.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.184e-06/14.47, allocations: 3.281 kB / 5.486 GB, free: 198.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001304/14.47, allocations: 140.5 kB / 5.486 GB, free: 198.1 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.0219/14.49, allocations: 5.225 MB / 5.491 GB, free: 196.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/14.49, allocations: 10.97 kB / 5.491 GB, free: 196.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/14.5, allocations: 1.238 MB / 5.492 GB, free: 195.9 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02088/14.52, allocations: 6.774 MB / 5.499 GB, free: 195.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/14.52, allocations: 121.3 kB / 5.499 GB, free: 195.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/14.53, allocations: 239.1 kB / 5.499 GB, free: 195.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01248/14.54, allocations: 4.476 MB / 5.504 GB, free: 195.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/14.55, allocations: 4.953 MB / 5.508 GB, free: 194.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/14.55, allocations: 5.594 kB / 5.508 GB, free: 194.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005305/14.55, allocations: 7.219 kB / 5.508 GB, free: 194.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/14.55, allocations: 195.5 kB / 5.509 GB, free: 194.8 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.03868/14.59, allocations: 23.35 MB / 5.531 GB, free: 185.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/14.6, allocations: 4.5 MB / 5.536 GB, free: 184 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/14.6, allocations: 2.02 MB / 5.538 GB, free: 183.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/14.6, allocations: 0.997 MB / 5.539 GB, free: 182.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002535/14.6, allocations: 1.864 MB / 5.541 GB, free: 182.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=272): time 5.571e-06/14.6, allocations: 0.6875 kB / 5.541 GB, free: 182.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=276): time 0.02456/14.63, allocations: 9.358 MB / 5.55 GB, free: 180.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/14.63, allocations: 186.8 kB / 5.55 GB, free: 180 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006512/14.64, allocations: 3.611 MB / 5.553 GB, free: 179.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008504/14.64, allocations: 32.39 kB / 5.553 GB, free: 179.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/14.64, allocations: 2.231 MB / 5.556 GB, free: 178.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/14.64, allocations: 0.9212 MB / 5.557 GB, free: 177.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/14.64, allocations: 0 / 5.557 GB, free: 177.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001944/14.64, allocations: 426.5 kB / 5.557 GB, free: 177 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/14.64, allocations: 1.374 MB / 5.558 GB, free: 176.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/14.64, allocations: 2.014 MB / 5.56 GB, free: 175.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/14.65, allocations: 1.909 MB / 5.562 GB, free: 174.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/14.65, allocations: 3.938 kB / 5.562 GB, free: 174.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007306/14.66, allocations: 4.037 MB / 5.566 GB, free: 173.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001107/14.66, allocations: 5.367 MB / 5.571 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/14.66, allocations: 11.81 kB / 5.571 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/14.66, allocations: 127.3 kB / 5.571 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/14.66, allocations: 0.623 MB / 5.572 GB, free: 167.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/14.66, allocations: 2.687 MB / 5.575 GB, free: 165.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/14.67, allocations: 465.5 kB / 5.575 GB, free: 165.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000699/14.67, allocations: 121.3 kB / 5.575 GB, free: 165.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/14.67, allocations: 3.844 kB / 5.575 GB, free: 165.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006448/14.67, allocations: 3.632 MB / 5.579 GB, free: 164.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/14.67, allocations: 9.656 kB / 5.579 GB, free: 164.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/14.68, allocations: 125.2 kB / 5.579 GB, free: 164.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/14.68, allocations: 0.6173 MB / 5.58 GB, free: 164 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/14.68, allocations: 2.067 MB / 5.582 GB, free: 162.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/14.69, allocations: 452 kB / 5.582 GB, free: 162.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000727/14.69, allocations: 113.4 kB / 5.582 GB, free: 162.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.001171/14.69, allocations: 239.1 kB / 5.582 GB, free: 162.2 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008497/14.7, allocations: 3.479 MB / 5.586 GB, free: 160.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002225/14.7, allocations: 415.6 kB / 5.586 GB, free: 160.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/14.71, allocations: 3.821 MB / 5.59 GB, free: 159.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/14.71, allocations: 30.22 kB / 5.59 GB, free: 159.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/14.71, allocations: 3.094 kB / 5.59 GB, free: 159.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005431/14.71, allocations: 3.239 MB / 5.593 GB, free: 158.1 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.02123/14.73, allocations: 9.82 MB / 5.603 GB, free: 153.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/14.73, allocations: 3.312 kB / 5.603 GB, free: 153.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/14.74, allocations: 0.6158 MB / 5.603 GB, free: 153.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/14.74, allocations: 111.9 kB / 5.603 GB, free: 153.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/14.74, allocations: 46.38 kB / 5.603 GB, free: 153.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/14.74, allocations: 2.67 MB / 5.606 GB, free: 151.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/14.74, allocations: 3.938 kB / 5.606 GB, free: 151.5 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009179/14.75, allocations: 6.189 MB / 5.612 GB, free: 147.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/14.75, allocations: 1.037 MB / 5.613 GB, free: 146.3 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/14.75, allocations: 31.38 kB / 5.613 GB, free: 146.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005133/14.76, allocations: 405.2 kB / 5.613 GB, free: 146.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/14.76, allocations: 166.8 kB / 5.614 GB, free: 146 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/14.76, allocations: 115 kB / 5.614 GB, free: 145.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005259/14.77, allocations: 2.802 MB / 5.616 GB, free: 143.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.785e-06/14.77, allocations: 3.344 kB / 5.616 GB, free: 143.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01825/14.78, allocations: 2.554 MB / 5.619 GB, free: 140.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 (265): * Single equations (assignments): 257 * 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.0154/14.8, allocations: 10.4 MB / 5.629 GB, free: 131.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008735/14.81, allocations: 5.832 MB / 5.635 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/14.81, allocations: 4 kB / 5.635 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/14.81, allocations: 1.933 MB / 5.637 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0146/14.83, allocations: 2.627 MB / 5.639 GB, free: 122.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/14.85, allocations: 11.62 MB / 5.651 GB, free: 113.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/14.86, allocations: 4.051 MB / 5.655 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01301/14.87, allocations: 3.957 MB / 5.658 GB, free: 107.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004618/14.88, allocations: 2.03 MB / 5.66 GB, free: 106 MB / 1.198 GB Notification: Performance of SimCode: time 1.132e-06/14.88, allocations: 4 kB / 5.66 GB, free: 106 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.138/16.01, allocations: 153.2 MB / 5.81 GB, free: 202.3 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/16.01, allocations: 184.8 kB / 5.81 GB, free: 202.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/23.35, allocations: 6.219 kB / 5.81 GB, free: 202.1 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat does not exist to compare? outputFormat=mat