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.387/2.387, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001466/0.001466, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.751/1.751, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001101/0.001101, allocations: 99.75 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.857e-05/5.892e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3561, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.436/1.792, allocations: 424.6 MB / 1.633 GB, free: 9.805 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.793, allocations: 88.52 kB / 1.634 GB, free: 9.719 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.848/4.64, allocations: 0.628 GB / 2.262 GB, free: 238.3 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.028e-06/4.641, allocations: 0 / 2.262 GB, free: 238.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001763/4.641, allocations: 41.3 kB / 2.262 GB, free: 238.3 MB / 1.135 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.004752/4.645, allocations: 1.828 MB / 2.263 GB, free: 237.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/4.646, allocations: 11.66 kB / 2.263 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/4.646, allocations: 132 kB / 2.264 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/4.647, allocations: 388.4 kB / 2.264 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02627/4.674, allocations: 13.68 MB / 2.277 GB, free: 235.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006466/4.674, allocations: 216.1 kB / 2.277 GB, free: 235.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/4.674, allocations: 98.81 kB / 2.278 GB, free: 235.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/4.676, allocations: 1.001 MB / 2.279 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/4.676, allocations: 0 / 2.279 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/4.676, allocations: 35.78 kB / 2.279 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/4.676, allocations: 36.3 kB / 2.279 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/4.678, allocations: 0.7927 MB / 2.279 GB, free: 234.3 MB / 1.135 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.007243/4.685, allocations: 4.85 MB / 2.284 GB, free: 231.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/4.686, allocations: 0.6322 MB / 2.285 GB, free: 231 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/4.686, allocations: 333.5 kB / 2.285 GB, free: 230.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/4.687, allocations: 1.06 MB / 2.286 GB, free: 229.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006401/4.688, allocations: 435.5 kB / 2.286 GB, free: 229.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=73): time 3.005e-06/4.688, allocations: 0 / 2.286 GB, free: 229.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=73): time 0.001484/4.689, allocations: 0.7728 MB / 2.287 GB, free: 229.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/4.689, allocations: 118.7 kB / 2.287 GB, free: 229.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/4.691, allocations: 1.036 MB / 2.288 GB, free: 228.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/4.691, allocations: 49.27 kB / 2.288 GB, free: 228.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/4.691, allocations: 0.5832 MB / 2.289 GB, free: 228.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/4.691, allocations: 251.6 kB / 2.289 GB, free: 227.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/4.691, allocations: 22.72 kB / 2.289 GB, free: 227.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/4.691, allocations: 343.9 kB / 2.29 GB, free: 227.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/4.692, allocations: 313.2 kB / 2.29 GB, free: 227.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/4.693, allocations: 0.5766 MB / 2.29 GB, free: 227.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/4.693, allocations: 406.4 kB / 2.291 GB, free: 226.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/4.693, allocations: 0 / 2.291 GB, free: 226.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001663/4.695, allocations: 1.055 MB / 2.292 GB, free: 226.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003774/4.695, allocations: 1.631 MB / 2.293 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/4.695, allocations: 3.969 kB / 2.293 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/4.695, allocations: 11.66 kB / 2.293 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/4.697, allocations: 316.4 kB / 2.294 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/4.697, allocations: 1.199 MB / 2.295 GB, free: 223.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/4.699, allocations: 217.5 kB / 2.295 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/4.699, allocations: 56.31 kB / 2.295 GB, free: 223.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/4.699, allocations: 4.969 kB / 2.295 GB, free: 223.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/4.7, allocations: 0.9173 MB / 2.296 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/4.7, allocations: 3.844 kB / 2.296 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/4.7, allocations: 7.594 kB / 2.296 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/4.701, allocations: 293.8 kB / 2.296 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/4.701, allocations: 18.94 kB / 2.296 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/4.703, allocations: 201.4 kB / 2.297 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/4.703, allocations: 51.12 kB / 2.297 GB, free: 223.1 MB / 1.135 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 () * 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.0002554/4.703, allocations: 157.3 kB / 2.297 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/4.703, allocations: 147.3 kB / 2.297 GB, free: 222.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/4.705, allocations: 1.07 MB / 2.298 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/4.705, allocations: 7.875 kB / 2.298 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/4.705, allocations: 0 / 2.298 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/4.705, allocations: 3.938 kB / 2.298 GB, free: 222.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/4.709, allocations: 2.337 MB / 2.3 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/4.709, allocations: 0 / 2.3 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/4.71, allocations: 229.1 kB / 2.3 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/4.71, allocations: 7.781 kB / 2.3 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/4.71, allocations: 34.39 kB / 2.301 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004045/4.71, allocations: 1.184 MB / 2.302 GB, free: 220.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.71, allocations: 6.875 kB / 2.302 GB, free: 220.1 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/4.712, allocations: 1.641 MB / 2.303 GB, free: 219.2 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/4.713, allocations: 370.6 kB / 2.304 GB, free: 218.9 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/4.713, allocations: 22.34 kB / 2.304 GB, free: 218.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/4.714, allocations: 142.3 kB / 2.304 GB, free: 218.9 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/4.714, allocations: 69.31 kB / 2.304 GB, free: 218.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/4.714, allocations: 38.53 kB / 2.304 GB, free: 218.9 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0009325/4.715, allocations: 0.7835 MB / 2.305 GB, free: 218.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.71e-07/4.715, allocations: 3.938 kB / 2.305 GB, free: 218.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002498/4.718, allocations: 0.8382 MB / 2.305 GB, free: 218.4 MB / 1.135 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.003981/4.722, allocations: 3.478 MB / 2.309 GB, free: 216.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002694/4.724, allocations: 1.52 MB / 2.31 GB, free: 215.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/4.724, allocations: 0 / 2.31 GB, free: 215.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/4.725, allocations: 476.7 kB / 2.311 GB, free: 215.3 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/4.728, allocations: 0.5691 MB / 2.311 GB, free: 215.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/4.732, allocations: 2.204 MB / 2.314 GB, free: 213.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/4.733, allocations: 1.201 MB / 2.315 GB, free: 213 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001825/4.735, allocations: 430.3 kB / 2.315 GB, free: 212.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/4.735, allocations: 0.5223 MB / 2.316 GB, free: 212.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.273e-06/4.735, allocations: 6.938 kB / 2.316 GB, free: 212.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/4.811, allocations: 46.3 MB / 2.361 GB, free: 179.1 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/4.811, allocations: 258.2 kB / 2.361 GB, free: 178.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.232/9.043, allocations: 4.062 kB / 2.361 GB, free: 178.7 MB / 1.135 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