Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.247/2.247, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001068/0.001068, allocations: 178.9 kB / 0.4901 GB, free: 2.266 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.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.000995/0.0009951, allocations: 96.61 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 13.59 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.216/5.482, allocations: 2.196 GB / 3.425 GB, free: 254.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/5.482, allocations: 96.52 kB / 3.425 GB, free: 254.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.136/8.618, allocations: 0.9264 GB / 4.352 GB, free: 200.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.976e-06/8.618, allocations: 0 / 4.352 GB, free: 200.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001179/8.618, allocations: 31.98 kB / 4.352 GB, free: 200.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006345/8.624, allocations: 2.189 MB / 4.354 GB, free: 198.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/8.624, allocations: 8.031 kB / 4.354 GB, free: 198.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003256/8.625, allocations: 139.7 kB / 4.354 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/8.628, allocations: 0.5249 MB / 4.355 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/8.631, allocations: 1.239 MB / 4.356 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/8.632, allocations: 209.9 kB / 4.356 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/8.632, allocations: 96 kB / 4.356 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/8.635, allocations: 1.289 MB / 4.357 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/8.635, allocations: 0 / 4.357 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/8.635, allocations: 36 kB / 4.357 GB, free: 195 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/8.635, allocations: 41.92 kB / 4.358 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/8.638, allocations: 1.28 MB / 4.359 GB, free: 193.6 MB / 1.167 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.009358/8.647, allocations: 5.107 MB / 4.364 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/8.65, allocations: 1.083 MB / 4.365 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009767/8.651, allocations: 0.831 MB / 4.366 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/8.652, allocations: 0.739 MB / 4.366 GB, free: 185.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 4.088e-06/8.652, allocations: 0 / 4.366 GB, free: 185.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.004994/8.657, allocations: 2.019 MB / 4.368 GB, free: 183.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/8.657, allocations: 115.5 kB / 4.368 GB, free: 183.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/8.659, allocations: 0.9074 MB / 4.369 GB, free: 182.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/8.659, allocations: 49.7 kB / 4.369 GB, free: 182.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/8.659, allocations: 0.5203 MB / 4.37 GB, free: 181.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/8.66, allocations: 272.1 kB / 4.37 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/8.66, allocations: 16 kB / 4.37 GB, free: 181.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/8.66, allocations: 345.9 kB / 4.37 GB, free: 181 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/8.661, allocations: 0.5328 MB / 4.371 GB, free: 180.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/8.662, allocations: 0.7499 MB / 4.372 GB, free: 179.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/8.664, allocations: 0.6231 MB / 4.372 GB, free: 179.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/8.664, allocations: 0 / 4.372 GB, free: 179.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003386/8.667, allocations: 1.573 MB / 4.374 GB, free: 177.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002438/8.667, allocations: 1.128 MB / 4.375 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/8.667, allocations: 0 / 4.375 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/8.667, allocations: 8 kB / 4.375 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/8.669, allocations: 267.6 kB / 4.375 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/8.669, allocations: 11.98 kB / 4.375 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/8.671, allocations: 218.8 kB / 4.375 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/8.671, allocations: 59.95 kB / 4.375 GB, free: 175.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/8.671, allocations: 4 kB / 4.376 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003194/8.674, allocations: 1.475 MB / 4.377 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/8.674, allocations: 8 kB / 4.377 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/8.674, allocations: 8 kB / 4.377 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/8.675, allocations: 271.7 kB / 4.377 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/8.675, allocations: 7.953 kB / 4.377 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/8.677, allocations: 203 kB / 4.377 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/8.677, allocations: 51.97 kB / 4.377 GB, free: 173.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($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,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001174/8.679, allocations: 460.3 kB / 4.378 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005737/8.679, allocations: 130.4 kB / 4.378 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/8.683, allocations: 1.576 MB / 4.38 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/8.683, allocations: 11.98 kB / 4.38 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/8.683, allocations: 3.953 kB / 4.38 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/8.683, allocations: 3.984 kB / 4.38 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006337/8.689, allocations: 3.053 MB / 4.383 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/8.689, allocations: 0 / 4.383 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/8.69, allocations: 216.1 kB / 4.383 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/8.691, allocations: 8 kB / 4.383 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/8.691, allocations: 31.97 kB / 4.383 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/8.691, allocations: 8 kB / 4.383 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/8.691, allocations: 7.938 kB / 4.383 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/8.695, allocations: 2.563 MB / 4.385 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/8.696, allocations: 363 kB / 4.386 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/8.697, allocations: 20 kB / 4.386 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/8.699, allocations: 147.9 kB / 4.386 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/8.699, allocations: 60.44 kB / 4.386 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/8.699, allocations: 47.97 kB / 4.386 GB, free: 164.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001297/8.7, allocations: 0.709 MB / 4.387 GB, free: 164 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.7, allocations: 0 / 4.387 GB, free: 164 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004057/8.704, allocations: 1.01 MB / 4.388 GB, free: 162.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009205/8.713, allocations: 6.06 MB / 4.394 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005048/8.719, allocations: 2.3 MB / 4.396 GB, free: 154.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/8.719, allocations: 0 / 4.396 GB, free: 154.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/8.72, allocations: 0.7917 MB / 4.397 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/8.723, allocations: 0.4938 MB / 4.397 GB, free: 153 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/8.731, allocations: 5.169 MB / 4.402 GB, free: 147.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/8.732, allocations: 1.18 MB / 4.403 GB, free: 146.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002032/8.734, allocations: 376.8 kB / 4.404 GB, free: 146.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/8.735, allocations: 491.2 kB / 4.404 GB, free: 145.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.595e-06/8.735, allocations: 0 / 4.404 GB, free: 145.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08609/8.821, allocations: 62.37 MB / 4.465 GB, free: 83.72 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/8.821, allocations: 248.2 kB / 4.465 GB, free: 83.39 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/13.17, allocations: 0 / 4.465 GB, free: 83.39 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat does not exist to compare? outputFormat=mat