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.222/2.222, 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.001081/0.001081, allocations: 179.3 kB / 0.4901 GB, free: 2.242 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.524/1.524, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009422/0.0009423, allocations: 98.16 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 11.45 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.314, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.503, allocations: 424.6 MB / 1.644 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.504, allocations: 91.27 kB / 1.644 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.077/3.581, allocations: 0.6298 GB / 2.274 GB, free: 46.47 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.255e-06/3.581, allocations: 0 / 2.274 GB, free: 46.47 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001364/3.581, allocations: 43.92 kB / 2.274 GB, free: 46.43 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004694/3.586, allocations: 2.114 MB / 2.276 GB, free: 44.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/3.586, allocations: 16.02 kB / 2.276 GB, free: 44.23 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/3.586, allocations: 143.3 kB / 2.276 GB, free: 44.09 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/3.588, allocations: 377.7 kB / 2.277 GB, free: 43.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02636/3.614, allocations: 13.77 MB / 2.29 GB, free: 29.78 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006525/3.615, allocations: 206.3 kB / 2.29 GB, free: 29.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/3.615, allocations: 100 kB / 2.29 GB, free: 29.47 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/3.617, allocations: 1.153 MB / 2.291 GB, free: 28.28 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/3.617, allocations: 0 / 2.291 GB, free: 28.28 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/3.618, allocations: 36 kB / 2.291 GB, free: 28.24 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/3.618, allocations: 37.98 kB / 2.291 GB, free: 28.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/3.62, allocations: 1.073 MB / 2.292 GB, free: 27.13 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.007691/3.628, allocations: 4.84 MB / 2.297 GB, free: 22.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/3.63, allocations: 0.9279 MB / 2.298 GB, free: 21.08 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/3.63, allocations: 1.06 MB / 2.299 GB, free: 19.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/3.632, allocations: 0.5548 MB / 2.3 GB, free: 19.23 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.136e-06/3.632, allocations: 0 / 2.3 GB, free: 19.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.003461/3.635, allocations: 1.425 MB / 2.301 GB, free: 17.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/3.635, allocations: 119.4 kB / 2.301 GB, free: 17.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/3.637, allocations: 1.051 MB / 2.302 GB, free: 16.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/3.637, allocations: 45.7 kB / 2.302 GB, free: 16.55 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/3.637, allocations: 0.5918 MB / 2.303 GB, free: 15.95 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/3.637, allocations: 252.3 kB / 2.303 GB, free: 15.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/3.637, allocations: 16 kB / 2.303 GB, free: 15.68 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/3.637, allocations: 345.9 kB / 2.303 GB, free: 15.34 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/3.638, allocations: 461.7 kB / 2.304 GB, free: 14.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/3.64, allocations: 0.7169 MB / 2.305 GB, free: 14.07 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/3.641, allocations: 0.5257 MB / 2.305 GB, free: 13.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.641, allocations: 4 kB / 2.305 GB, free: 13.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002927/3.644, allocations: 1.333 MB / 2.306 GB, free: 12.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/3.644, allocations: 1.631 MB / 2.308 GB, free: 10.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/3.644, allocations: 4 kB / 2.308 GB, free: 10.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/3.644, allocations: 8 kB / 2.308 GB, free: 10.44 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/3.645, allocations: 311.5 kB / 2.308 GB, free: 10.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/3.646, allocations: 1.196 MB / 2.309 GB, free: 8.891 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/3.648, allocations: 218.8 kB / 2.31 GB, free: 8.676 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/3.648, allocations: 47.97 kB / 2.31 GB, free: 8.629 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/3.648, allocations: 4 kB / 2.31 GB, free: 8.625 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/3.65, allocations: 1.196 MB / 2.311 GB, free: 7.426 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/3.65, allocations: 4 kB / 2.311 GB, free: 7.422 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/3.65, allocations: 12 kB / 2.311 GB, free: 7.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/3.652, allocations: 287.7 kB / 2.311 GB, free: 7.129 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/3.652, allocations: 15.94 kB / 2.311 GB, free: 7.113 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/3.653, allocations: 203 kB / 2.311 GB, free: 6.914 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/3.653, allocations: 47.97 kB / 2.311 GB, free: 6.867 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (120): * Single equations (assignments): 117 * 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.0007257/3.654, allocations: 378 kB / 2.312 GB, free: 6.488 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/3.654, allocations: 150.2 kB / 2.312 GB, free: 6.34 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/3.657, allocations: 1.343 MB / 2.313 GB, free: 4.992 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/3.657, allocations: 15.98 kB / 2.313 GB, free: 4.977 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/3.657, allocations: 0 / 2.313 GB, free: 4.977 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/3.657, allocations: 3.984 kB / 2.313 GB, free: 4.973 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/3.662, allocations: 2.611 MB / 2.316 GB, free: 2.273 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/3.662, allocations: 4 kB / 2.316 GB, free: 2.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/3.663, allocations: 239.8 kB / 2.316 GB, free: 2.035 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/3.663, allocations: 4 kB / 2.316 GB, free: 2.031 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/3.663, allocations: 27.98 kB / 2.316 GB, free: 2.004 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000386/3.663, allocations: 1.191 MB / 2.317 GB, free: 0.7656 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/3.663, allocations: 7.938 kB / 2.317 GB, free: 0.7578 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7373/4.4, allocations: 2.044 MB / 2.319 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/4.401, allocations: 364.5 kB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/4.402, allocations: 20.25 kB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/4.403, allocations: 141.8 kB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/4.403, allocations: 74.06 kB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/4.403, allocations: 42.36 kB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001255/4.404, allocations: 0.7958 MB / 2.321 GB, free: 240.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/4.404, allocations: 0 / 2.321 GB, free: 240.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002775/4.407, allocations: 0.8406 MB / 2.321 GB, free: 240.8 MB / 1.167 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) * Number of clocked states: 0 () * 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.007172/4.414, allocations: 3.871 MB / 2.325 GB, free: 239.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005379/4.42, allocations: 1.898 MB / 2.327 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/4.42, allocations: 1.031 kB / 2.327 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/4.421, allocations: 0.5975 MB / 2.328 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/4.425, allocations: 0.5735 MB / 2.328 GB, free: 239.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009121/4.434, allocations: 6.279 MB / 2.334 GB, free: 234.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/4.435, allocations: 1.198 MB / 2.336 GB, free: 234.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002228/4.437, allocations: 365.9 kB / 2.336 GB, free: 234.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008603/4.438, allocations: 0.5406 MB / 2.336 GB, free: 234.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/4.438, allocations: 0 / 2.336 GB, free: 234.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/4.527, allocations: 43.27 MB / 2.379 GB, free: 233.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/4.528, allocations: 284.6 kB / 2.379 GB, free: 233.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/8.288, allocations: 0 / 2.379 GB, free: 233.3 MB / 1.167 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