Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.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.00152/0.00152, allocations: 168.9 kB / 492.3 MB, free: 0.6211 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.538/1.538, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001251/0.001252, allocations: 107.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.257e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3137, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.338/5.652, allocations: 2.186 GB / 3.398 GB, free: 116.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/5.652, allocations: 91.7 kB / 3.398 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.413/9.064, allocations: 0.9534 GB / 4.352 GB, free: 25.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/9.065, allocations: 4 kB / 4.352 GB, free: 25.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002503/9.065, allocations: 39.98 kB / 4.352 GB, free: 25.92 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006725/9.072, allocations: 2.096 MB / 4.354 GB, free: 23.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/9.072, allocations: 12.03 kB / 4.354 GB, free: 23.75 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004632/9.072, allocations: 148.2 kB / 4.354 GB, free: 23.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/9.075, allocations: 0.5442 MB / 4.355 GB, free: 23.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/9.079, allocations: 1.368 MB / 4.356 GB, free: 21.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006873/9.08, allocations: 218.3 kB / 4.356 GB, free: 21.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/9.08, allocations: 112 kB / 4.356 GB, free: 21.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/9.083, allocations: 1.2 MB / 4.358 GB, free: 20.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/9.083, allocations: 4 kB / 4.358 GB, free: 20.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/9.083, allocations: 40 kB / 4.358 GB, free: 20.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/9.083, allocations: 41.98 kB / 4.358 GB, free: 19.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/9.085, allocations: 1.039 MB / 4.359 GB, free: 18.95 MB / 1.151 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.009441/9.094, allocations: 5.537 MB / 4.364 GB, free: 13.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/9.095, allocations: 0.7802 MB / 4.365 GB, free: 12.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/9.096, allocations: 424.2 kB / 4.365 GB, free: 11.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008607/9.097, allocations: 0.7437 MB / 4.366 GB, free: 11.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/9.098, allocations: 0.5253 MB / 4.366 GB, free: 10.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.847e-06/9.098, allocations: 0 / 4.366 GB, free: 10.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002041/9.1, allocations: 0.9358 MB / 4.367 GB, free: 9.531 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/9.1, allocations: 111.6 kB / 4.367 GB, free: 9.395 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/9.102, allocations: 1.134 MB / 4.369 GB, free: 8.254 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/9.102, allocations: 49.7 kB / 4.369 GB, free: 8.199 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/9.102, allocations: 0.643 MB / 4.369 GB, free: 7.547 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/9.102, allocations: 279.9 kB / 4.369 GB, free: 7.27 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/9.103, allocations: 20 kB / 4.37 GB, free: 7.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/9.103, allocations: 349.9 kB / 4.37 GB, free: 6.902 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/9.103, allocations: 402.5 kB / 4.37 GB, free: 6.508 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/9.104, allocations: 0.688 MB / 4.371 GB, free: 5.715 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/9.105, allocations: 488.5 kB / 4.371 GB, free: 5.234 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/9.105, allocations: 0 / 4.371 GB, free: 5.234 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002129/9.107, allocations: 1.251 MB / 4.373 GB, free: 3.969 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004544/9.107, allocations: 1.907 MB / 4.374 GB, free: 1.953 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/9.108, allocations: 4 kB / 4.374 GB, free: 1.949 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/9.108, allocations: 8 kB / 4.374 GB, free: 1.941 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/9.109, allocations: 355.5 kB / 4.375 GB, free: 1.594 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000555/9.11, allocations: 1.195 MB / 4.376 GB, free: 360 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/9.112, allocations: 246.9 kB / 4.376 GB, free: 112 kB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/9.112, allocations: 59.95 kB / 4.376 GB, free: 52 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/9.112, allocations: 4.625 kB / 4.376 GB, free: 48 kB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/9.114, allocations: 1.091 MB / 4.377 GB, free: 14.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/9.114, allocations: 11.97 kB / 4.377 GB, free: 14.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/9.114, allocations: 8 kB / 4.377 GB, free: 14.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/9.116, allocations: 336.2 kB / 4.378 GB, free: 14.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/9.116, allocations: 11.94 kB / 4.378 GB, free: 14.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/9.117, allocations: 230.8 kB / 4.378 GB, free: 14.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/9.118, allocations: 59.97 kB / 4.378 GB, free: 14.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003601/9.118, allocations: 179.9 kB / 4.378 GB, free: 14.12 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/9.118, allocations: 150.1 kB / 4.378 GB, free: 13.97 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/9.121, allocations: 1.117 MB / 4.379 GB, free: 12.85 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/9.121, allocations: 8 kB / 4.379 GB, free: 12.84 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/9.121, allocations: 0 / 4.379 GB, free: 12.84 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/9.121, allocations: 3.984 kB / 4.379 GB, free: 12.84 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/9.126, allocations: 2.662 MB / 4.382 GB, free: 10.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/9.126, allocations: 0 / 4.382 GB, free: 10.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/9.128, allocations: 260 kB / 4.382 GB, free: 9.816 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/9.128, allocations: 8 kB / 4.382 GB, free: 9.809 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.852e-05/9.128, allocations: 27.98 kB / 4.382 GB, free: 9.781 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007078/9.128, allocations: 1.192 MB / 4.383 GB, free: 8.543 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.658e-05/9.128, allocations: 4 kB / 4.383 GB, free: 8.539 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/9.132, allocations: 1.953 MB / 4.385 GB, free: 6.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/9.133, allocations: 378.8 kB / 4.386 GB, free: 6.039 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/9.133, allocations: 24 kB / 4.386 GB, free: 6.016 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/9.135, allocations: 147.8 kB / 4.386 GB, free: 5.871 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/9.135, allocations: 72.64 kB / 4.386 GB, free: 5.801 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/9.135, allocations: 39.97 kB / 4.386 GB, free: 5.762 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001653/9.137, allocations: 0.8657 MB / 4.387 GB, free: 4.898 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/9.137, allocations: 7.938 kB / 4.387 GB, free: 4.891 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003946/9.14, allocations: 0.991 MB / 4.388 GB, free: 3.898 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7838/9.924, allocations: 5.403 MB / 4.393 GB, free: 210.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00524/9.93, allocations: 1.765 MB / 4.395 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/9.93, allocations: 0.75 kB / 4.395 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/9.931, allocations: 0.5308 MB / 4.395 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/9.935, allocations: 0.6772 MB / 4.396 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/9.942, allocations: 2.444 MB / 4.398 GB, free: 209.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/9.943, allocations: 1.263 MB / 4.4 GB, free: 208.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003333/9.947, allocations: 0.5106 MB / 4.4 GB, free: 208.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/9.948, allocations: 0.5526 MB / 4.401 GB, free: 208.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.184e-06/9.948, allocations: 0 / 4.401 GB, free: 208.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/10.1, allocations: 74.39 MB / 4.473 GB, free: 207.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/10.1, allocations: 245.1 kB / 4.473 GB, free: 207.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.472/15.57, allocations: 0 / 4.473 GB, free: 207.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat