Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.248/2.248, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001228/0.001228, allocations: 190.9 kB / 0.4901 GB, free: 2.246 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.485/1.485, 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.001058/0.001058, allocations: 111 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 10.78 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3185, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/5.552, allocations: 2.187 GB / 3.416 GB, free: 263.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/5.552, allocations: 92.52 kB / 3.416 GB, free: 263 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.286/8.839, allocations: 0.9551 GB / 4.372 GB, free: 178.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/8.839, allocations: 0 / 4.372 GB, free: 178.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002836/8.839, allocations: 43.98 kB / 4.372 GB, free: 178.6 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.009283/8.848, allocations: 2.391 MB / 4.374 GB, free: 176.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/8.848, allocations: 12.02 kB / 4.374 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008586/8.849, allocations: 152.2 kB / 4.374 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/8.853, allocations: 0.548 MB / 4.375 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/8.859, allocations: 1.383 MB / 4.376 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006781/8.86, allocations: 214.3 kB / 4.376 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005439/8.86, allocations: 112 kB / 4.376 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/8.864, allocations: 1.367 MB / 4.378 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/8.864, allocations: 7.938 kB / 4.378 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/8.864, allocations: 43.95 kB / 4.378 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/8.864, allocations: 41.98 kB / 4.378 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/8.867, allocations: 1.351 MB / 4.379 GB, free: 170.8 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.01078/8.878, allocations: 5.532 MB / 4.384 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/8.881, allocations: 1.135 MB / 4.386 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/8.882, allocations: 0.7513 MB / 4.386 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/8.883, allocations: 0.664 MB / 4.387 GB, free: 162.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.306e-06/8.883, allocations: 0 / 4.387 GB, free: 162.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.004495/8.888, allocations: 1.718 MB / 4.389 GB, free: 160.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/8.888, allocations: 119.6 kB / 4.389 GB, free: 160.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/8.89, allocations: 1.162 MB / 4.39 GB, free: 159.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/8.89, allocations: 49.7 kB / 4.39 GB, free: 159.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/8.891, allocations: 0.6313 MB / 4.39 GB, free: 158.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/8.891, allocations: 279.9 kB / 4.391 GB, free: 158.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/8.891, allocations: 20 kB / 4.391 GB, free: 158.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/8.891, allocations: 349.9 kB / 4.391 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/8.893, allocations: 0.5491 MB / 4.392 GB, free: 157.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/8.894, allocations: 0.8478 MB / 4.392 GB, free: 156.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/8.896, allocations: 0.6253 MB / 4.393 GB, free: 155.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/8.896, allocations: 0 / 4.393 GB, free: 155.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003606/8.899, allocations: 1.571 MB / 4.395 GB, free: 154.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003973/8.9, allocations: 1.901 MB / 4.396 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/8.9, allocations: 4 kB / 4.396 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/8.9, allocations: 19.95 kB / 4.397 GB, free: 152.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/8.901, allocations: 343.5 kB / 4.397 GB, free: 151.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005682/8.902, allocations: 1.203 MB / 4.398 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/8.904, allocations: 242.8 kB / 4.398 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/8.904, allocations: 67.91 kB / 4.398 GB, free: 150.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/8.904, allocations: 4 kB / 4.398 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003069/8.907, allocations: 1.403 MB / 4.4 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/8.907, allocations: 4 kB / 4.4 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/8.907, allocations: 12 kB / 4.4 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/8.909, allocations: 335.5 kB / 4.4 GB, free: 148.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/8.909, allocations: 8 kB / 4.4 GB, free: 148.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/8.911, allocations: 234.8 kB / 4.4 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/8.911, allocations: 55.97 kB / 4.4 GB, free: 148.2 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 () * Number of clocked 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.0009436/8.912, allocations: 418.1 kB / 4.401 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/8.913, allocations: 158.1 kB / 4.401 GB, free: 147.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/8.916, allocations: 1.435 MB / 4.402 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/8.916, allocations: 15.98 kB / 4.402 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/8.916, allocations: 0 / 4.402 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/8.916, allocations: 3.984 kB / 4.402 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/8.922, allocations: 2.951 MB / 4.405 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/8.922, allocations: 4 kB / 4.405 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/8.923, allocations: 252.1 kB / 4.405 GB, free: 142.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/8.923, allocations: 11.95 kB / 4.405 GB, free: 142.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/8.924, allocations: 31.97 kB / 4.405 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004455/8.924, allocations: 1.188 MB / 4.407 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/8.924, allocations: 7.938 kB / 4.407 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/8.929, allocations: 2.406 MB / 4.409 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/8.93, allocations: 378.7 kB / 4.409 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/8.93, allocations: 23.98 kB / 4.409 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/8.932, allocations: 159.7 kB / 4.409 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/8.932, allocations: 68.5 kB / 4.41 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/8.932, allocations: 47.92 kB / 4.41 GB, free: 138.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001503/8.933, allocations: 0.8902 MB / 4.41 GB, free: 137.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/8.934, allocations: 0 / 4.41 GB, free: 137.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003803/8.937, allocations: 0.9988 MB / 4.411 GB, free: 136.4 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: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.008158/8.945, allocations: 5.862 MB / 4.417 GB, free: 130.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005065/8.951, allocations: 2.17 MB / 4.419 GB, free: 128.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/8.951, allocations: 4 kB / 4.419 GB, free: 128.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/8.952, allocations: 0.6688 MB / 4.42 GB, free: 127.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/8.956, allocations: 0.6662 MB / 4.421 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/8.965, allocations: 7.063 MB / 4.427 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/8.965, allocations: 1.262 MB / 4.429 GB, free: 118.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002242/8.968, allocations: 427.7 kB / 4.429 GB, free: 117.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/8.969, allocations: 0.5735 MB / 4.43 GB, free: 117.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.62e-07/8.969, allocations: 0 / 4.43 GB, free: 117.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/9.071, allocations: 67.17 MB / 4.495 GB, free: 50.69 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/9.071, allocations: 289 kB / 4.496 GB, free: 50.33 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.995/14.07, allocations: 0 / 4.496 GB, free: 50.33 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat