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.191/2.191, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001058/0.001058, allocations: 181.1 kB / 498.1 MB, free: 5.723 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.394/1.394, allocations: 223.2 MB / 0.7948 GB, free: 18.03 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.0009637/0.0009639, allocations: 100.6 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 14.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.109, allocations: 2.208 GB / 3.431 GB, free: 276.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/5.109, allocations: 104.7 kB / 3.431 GB, free: 276.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.702/12.81, allocations: 2.093 GB / 5.525 GB, free: 181.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.374e-06/12.81, allocations: 1.094 kB / 5.525 GB, free: 181.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001033/12.81, allocations: 140.9 kB / 5.525 GB, free: 181.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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02571/12.84, allocations: 6.362 MB / 5.531 GB, free: 179.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/12.84, allocations: 12.12 kB / 5.531 GB, free: 179.9 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003177/12.84, allocations: 0.5494 MB / 5.532 GB, free: 179.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/12.85, allocations: 1.239 MB / 5.533 GB, free: 179.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/12.87, allocations: 6.82 MB / 5.539 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/12.87, allocations: 298.2 kB / 5.54 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/12.87, allocations: 403.4 kB / 5.54 GB, free: 178.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/12.88, allocations: 5.603 MB / 5.546 GB, free: 178.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/12.88, allocations: 6.906 kB / 5.546 GB, free: 178.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/12.89, allocations: 163.4 kB / 5.546 GB, free: 178.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/12.89, allocations: 191.8 kB / 5.546 GB, free: 178.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/12.9, allocations: 4.904 MB / 5.551 GB, free: 178.4 MB / 1.198 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.04454/12.94, allocations: 24.12 MB / 5.574 GB, free: 169.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006127/12.95, allocations: 3.614 MB / 5.578 GB, free: 168.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/12.95, allocations: 1.001 MB / 5.579 GB, free: 167.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004468/12.95, allocations: 1.911 MB / 5.581 GB, free: 167.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=273): time 5.29e-06/12.95, allocations: 0.6875 kB / 5.581 GB, free: 167.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=277): time 0.02524/12.98, allocations: 9.933 MB / 5.59 GB, free: 165.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/12.98, allocations: 138.8 kB / 5.59 GB, free: 165.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/12.99, allocations: 3.944 MB / 5.594 GB, free: 165.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/12.99, allocations: 83.33 kB / 5.594 GB, free: 165.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003835/13, allocations: 2.229 MB / 5.597 GB, free: 164.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/13, allocations: 0.9464 MB / 5.597 GB, free: 163.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005735/13, allocations: 59.91 kB / 5.598 GB, free: 163.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003221/13, allocations: 419.6 kB / 5.598 GB, free: 163.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/13, allocations: 1.509 MB / 5.599 GB, free: 163.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/13, allocations: 2.154 MB / 5.602 GB, free: 162.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/13.01, allocations: 1.968 MB / 5.603 GB, free: 162.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/13.01, allocations: 5.719 kB / 5.603 GB, free: 162.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.008492/13.02, allocations: 4.369 MB / 5.608 GB, free: 162.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/13.02, allocations: 5.204 MB / 5.613 GB, free: 157.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/13.02, allocations: 12.45 kB / 5.613 GB, free: 157.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/13.02, allocations: 125.1 kB / 5.613 GB, free: 157.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/13.02, allocations: 0.6276 MB / 5.614 GB, free: 157.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/13.02, allocations: 2.78 MB / 5.616 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/13.03, allocations: 0.5142 MB / 5.617 GB, free: 155.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/13.03, allocations: 115.4 kB / 5.617 GB, free: 155.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/13.03, allocations: 3.656 kB / 5.617 GB, free: 155.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007062/13.04, allocations: 4.022 MB / 5.621 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/13.04, allocations: 15.33 kB / 5.621 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/13.04, allocations: 126.8 kB / 5.621 GB, free: 154.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/13.04, allocations: 0.6187 MB / 5.622 GB, free: 154.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/13.04, allocations: 2.181 MB / 5.624 GB, free: 153.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006228/13.05, allocations: 0.4965 MB / 5.624 GB, free: 153.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006797/13.05, allocations: 118.8 kB / 5.624 GB, free: 153.6 MB / 1.198 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.005131/13.05, allocations: 2.166 MB / 5.626 GB, free: 153.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/13.05, allocations: 434.1 kB / 5.627 GB, free: 153.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/13.06, allocations: 4.195 MB / 5.631 GB, free: 152.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/13.06, allocations: 25.12 kB / 5.631 GB, free: 152.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/13.06, allocations: 9.094 kB / 5.631 GB, free: 152.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005578/13.07, allocations: 3.515 MB / 5.634 GB, free: 152.5 MB / 1.198 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.02545/13.09, allocations: 10.58 MB / 5.645 GB, free: 151.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/13.09, allocations: 5.188 kB / 5.645 GB, free: 151.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003048/13.1, allocations: 0.6192 MB / 5.645 GB, free: 151.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/13.1, allocations: 113.2 kB / 5.645 GB, free: 151.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/13.1, allocations: 91.7 kB / 5.645 GB, free: 151.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/13.1, allocations: 2.751 MB / 5.648 GB, free: 149.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/13.1, allocations: 5.719 kB / 5.648 GB, free: 149.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/13.11, allocations: 6.637 MB / 5.655 GB, free: 148.1 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004274/13.12, allocations: 1.079 MB / 5.656 GB, free: 147.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/13.12, allocations: 69.02 kB / 5.656 GB, free: 147.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005548/13.12, allocations: 456.6 kB / 5.656 GB, free: 147.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/13.12, allocations: 171 kB / 5.656 GB, free: 147.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004372/13.12, allocations: 111.5 kB / 5.656 GB, free: 147.8 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.007419/13.13, allocations: 3.121 MB / 5.66 GB, free: 147.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.71e-07/13.13, allocations: 0 / 5.66 GB, free: 147.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01644/13.15, allocations: 2.748 MB / 5.662 GB, free: 147.6 MB / 1.198 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.01858/13.17, allocations: 10.69 MB / 5.673 GB, free: 144.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01045/13.18, allocations: 6.202 MB / 5.679 GB, free: 143.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/13.18, allocations: 7.219 kB / 5.679 GB, free: 143.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003211/13.18, allocations: 2.083 MB / 5.681 GB, free: 143.2 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01476/13.2, allocations: 2.777 MB / 5.683 GB, free: 143.2 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04415/13.24, allocations: 29.35 MB / 5.712 GB, free: 123.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00652/13.25, allocations: 4.044 MB / 5.716 GB, free: 122.4 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.009941/13.26, allocations: 2.397 MB / 5.718 GB, free: 122.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005094/13.26, allocations: 2.096 MB / 5.72 GB, free: 122.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.834e-06/13.26, allocations: 4.25 kB / 5.72 GB, free: 122.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2504/13.51, allocations: 174.3 MB / 5.891 GB, free: 26.25 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/13.51, allocations: 265 kB / 5.891 GB, free: 25.89 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/20.92, allocations: 0 / 5.891 GB, free: 25.89 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