Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.328/2.328, allocations: 390.5 MB / 398 MB, free: 10.92 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.001242/0.001242, allocations: 176.9 kB / 491.2 MB, free: 1.551 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.782/1.782, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001079/0.001079, allocations: 95.58 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.233e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3193, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.567, allocations: 423.9 MB / 1.626 GB, free: 6.805 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.567, allocations: 90.69 kB / 1.626 GB, free: 6.762 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896/4.464, allocations: 0.6248 GB / 2.251 GB, free: 245.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.453e-06/4.464, allocations: 3.844 kB / 2.251 GB, free: 245.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000163/4.464, allocations: 43.77 kB / 2.251 GB, free: 245.9 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004396/4.468, allocations: 1.82 MB / 2.253 GB, free: 245.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/4.468, allocations: 8.375 kB / 2.253 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/4.47, allocations: 398.9 kB / 2.254 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/4.498, allocations: 13.64 MB / 2.267 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/4.499, allocations: 168.6 kB / 2.267 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/4.499, allocations: 60.25 kB / 2.267 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/4.501, allocations: 0.7463 MB / 2.268 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/4.502, allocations: 0.8789 MB / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/4.502, allocations: 2.625 kB / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/4.502, allocations: 3.953 kB / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/4.502, allocations: 39.28 kB / 2.269 GB, free: 244.3 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.00791/4.51, allocations: 4.654 MB / 2.273 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/4.511, allocations: 0.5967 MB / 2.274 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/4.511, allocations: 312.4 kB / 2.274 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000921/4.512, allocations: 1.059 MB / 2.275 GB, free: 241.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/4.513, allocations: 414 kB / 2.276 GB, free: 241.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 4.438e-06/4.513, allocations: 0 / 2.276 GB, free: 241.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.002006/4.515, allocations: 0.8119 MB / 2.276 GB, free: 241 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/4.515, allocations: 111.5 kB / 2.276 GB, free: 240.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/4.516, allocations: 0.8607 MB / 2.277 GB, free: 240.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/4.516, allocations: 29.67 kB / 2.277 GB, free: 240.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/4.517, allocations: 0.5854 MB / 2.278 GB, free: 240.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/4.517, allocations: 239.7 kB / 2.278 GB, free: 240.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/4.517, allocations: 3.938 kB / 2.278 GB, free: 240.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/4.517, allocations: 344.4 kB / 2.278 GB, free: 240 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/4.518, allocations: 307.8 kB / 2.279 GB, free: 240 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/4.518, allocations: 0.5517 MB / 2.279 GB, free: 239.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/4.519, allocations: 458.8 kB / 2.28 GB, free: 239.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/4.519, allocations: 0 / 2.28 GB, free: 239.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002035/4.521, allocations: 1.034 MB / 2.281 GB, free: 239.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004338/4.522, allocations: 1.614 MB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/4.522, allocations: 5.969 kB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/4.522, allocations: 10.81 kB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/4.523, allocations: 311 kB / 2.283 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005943/4.524, allocations: 1.21 MB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/4.525, allocations: 176.4 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/4.526, allocations: 55.14 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/4.526, allocations: 3.625 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/4.527, allocations: 0.8793 MB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/4.527, allocations: 3.906 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/4.527, allocations: 15.05 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/4.529, allocations: 294.4 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/4.529, allocations: 9.906 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/4.53, allocations: 170.6 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/4.53, allocations: 50.69 kB / 2.285 GB, free: 236.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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.0002809/4.53, allocations: 129.1 kB / 2.286 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001662/4.532, allocations: 0.7996 MB / 2.286 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/4.532, allocations: 131.3 kB / 2.286 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/4.534, allocations: 1.069 MB / 2.287 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/4.535, allocations: 11.66 kB / 2.287 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/4.535, allocations: 0 / 2.287 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/4.535, allocations: 3.609 kB / 2.287 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/4.539, allocations: 2.231 MB / 2.29 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/4.539, allocations: 8.719 kB / 2.29 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/4.54, allocations: 227.8 kB / 2.29 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.882e-05/4.54, allocations: 5.5 kB / 2.29 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/4.54, allocations: 21.67 kB / 2.29 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004413/4.54, allocations: 1.187 MB / 2.291 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/4.54, allocations: 0.75 kB / 2.291 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/4.543, allocations: 1.635 MB / 2.293 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/4.544, allocations: 351 kB / 2.293 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/4.544, allocations: 14.81 kB / 2.293 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/4.545, allocations: 125.9 kB / 2.293 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/4.545, allocations: 72.3 kB / 2.293 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/4.545, allocations: 39.5 kB / 2.293 GB, free: 234.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001034/4.546, allocations: 0.6392 MB / 2.294 GB, free: 234 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.546, allocations: 0 / 2.294 GB, free: 234 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003451/4.55, allocations: 0.8115 MB / 2.295 GB, free: 233.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005373/4.555, allocations: 3.464 MB / 2.298 GB, free: 232.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002968/4.558, allocations: 1.449 MB / 2.299 GB, free: 232.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/4.558, allocations: 0 / 2.299 GB, free: 232.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/4.559, allocations: 455.2 kB / 2.3 GB, free: 232.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/4.562, allocations: 459 kB / 2.3 GB, free: 232.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008878/4.571, allocations: 2.108 MB / 2.302 GB, free: 231.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/4.572, allocations: 1.203 MB / 2.304 GB, free: 230.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00315/4.575, allocations: 400.8 kB / 2.304 GB, free: 230.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/4.576, allocations: 0.5187 MB / 2.304 GB, free: 230.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/4.576, allocations: 3.906 kB / 2.304 GB, free: 230.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08729/4.664, allocations: 38.05 MB / 2.342 GB, free: 229.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/4.664, allocations: 208 kB / 2.342 GB, free: 229.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/8.388, allocations: 5.906 kB / 2.342 GB, free: 229.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat