Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.52/2.52, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.00121/0.00121, allocations: 175.9 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.739/1.739, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009529/0.000953, allocations: 88.38 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 14.66 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3863, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.454, allocations: 2.176 GB / 3.405 GB, free: 193 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.455, allocations: 100 kB / 3.405 GB, free: 192.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/9.937, allocations: 1.021 GB / 4.426 GB, free: 64.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.585e-06/9.937, allocations: 0 / 4.426 GB, free: 64.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002998/9.937, allocations: 47.98 kB / 4.426 GB, free: 64.46 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007659/9.945, allocations: 2.182 MB / 4.428 GB, free: 62.21 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/9.945, allocations: 12.03 kB / 4.428 GB, free: 62.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007128/9.945, allocations: 160.9 kB / 4.428 GB, free: 62.04 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/9.948, allocations: 356.7 kB / 4.429 GB, free: 61.69 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/9.953, allocations: 1.605 MB / 4.43 GB, free: 60.03 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/9.953, allocations: 94.09 kB / 4.43 GB, free: 59.93 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/9.953, allocations: 119.9 kB / 4.43 GB, free: 59.82 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/9.957, allocations: 1.185 MB / 4.432 GB, free: 58.58 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/9.957, allocations: 4 kB / 4.432 GB, free: 58.58 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/9.957, allocations: 47.98 kB / 4.432 GB, free: 58.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/9.957, allocations: 46.14 kB / 4.432 GB, free: 58.48 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/9.959, allocations: 0.9336 MB / 4.433 GB, free: 57.54 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.009147/9.968, allocations: 5.515 MB / 4.438 GB, free: 51.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/9.97, allocations: 0.8819 MB / 4.439 GB, free: 50.67 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/9.97, allocations: 0.6057 MB / 4.439 GB, free: 49.94 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/9.97, allocations: 44.44 kB / 4.439 GB, free: 49.89 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/9.97, allocations: 0 / 4.439 GB, free: 49.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.003381/9.974, allocations: 1.404 MB / 4.441 GB, free: 48.43 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/9.974, allocations: 59.97 kB / 4.441 GB, free: 48.36 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/9.976, allocations: 1.055 MB / 4.442 GB, free: 47.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/9.976, allocations: 41.7 kB / 4.442 GB, free: 47.25 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/9.976, allocations: 0.6854 MB / 4.443 GB, free: 46.56 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/9.977, allocations: 248.4 kB / 4.443 GB, free: 46.31 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/9.977, allocations: 16 kB / 4.443 GB, free: 46.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/9.977, allocations: 333.9 kB / 4.443 GB, free: 45.96 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/9.977, allocations: 289.7 kB / 4.443 GB, free: 45.68 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/9.978, allocations: 0.5025 MB / 4.444 GB, free: 45.09 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/9.979, allocations: 356.9 kB / 4.444 GB, free: 44.75 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/9.979, allocations: 0 / 4.444 GB, free: 44.75 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001926/9.981, allocations: 0.9734 MB / 4.445 GB, free: 43.76 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/9.981, allocations: 0.8983 MB / 4.446 GB, free: 42.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/9.981, allocations: 3.938 kB / 4.446 GB, free: 42.81 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/9.981, allocations: 109.5 kB / 4.446 GB, free: 42.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/9.982, allocations: 155.8 kB / 4.446 GB, free: 42.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/9.983, allocations: 1.765 MB / 4.448 GB, free: 40.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/9.985, allocations: 167.2 kB / 4.448 GB, free: 40.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/9.985, allocations: 28 kB / 4.448 GB, free: 40.51 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/9.985, allocations: 8.938 kB / 4.448 GB, free: 40.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/9.987, allocations: 0.8056 MB / 4.449 GB, free: 39.69 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/9.987, allocations: 4.031 kB / 4.449 GB, free: 39.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/9.987, allocations: 93.72 kB / 4.449 GB, free: 39.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/9.988, allocations: 151.7 kB / 4.449 GB, free: 39.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/9.99, allocations: 3.145 MB / 4.452 GB, free: 36.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/9.992, allocations: 167.2 kB / 4.453 GB, free: 35.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/9.993, allocations: 27.98 kB / 4.453 GB, free: 35.83 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001238/9.994, allocations: 442 kB / 4.453 GB, free: 35.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/9.994, allocations: 154.2 kB / 4.453 GB, free: 35.23 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/9.997, allocations: 0.981 MB / 4.454 GB, free: 34.23 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/9.997, allocations: 8 kB / 4.454 GB, free: 34.22 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/9.997, allocations: 0 / 4.454 GB, free: 34.22 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/9.998, allocations: 1.09 MB / 4.455 GB, free: 33.04 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 postOpt removeSimpleEquations (simulation): time 0.005708/10, allocations: 2.455 MB / 4.458 GB, free: 30.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/10, allocations: 4.281 kB / 4.458 GB, free: 30.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/10, allocations: 163.8 kB / 4.458 GB, free: 30.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/10, allocations: 85.86 kB / 4.458 GB, free: 30.23 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/10, allocations: 20 kB / 4.458 GB, free: 30.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008926/10.01, allocations: 1.73 MB / 4.459 GB, free: 28.41 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/10.01, allocations: 11.92 kB / 4.459 GB, free: 28.39 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/10.01, allocations: 1.605 MB / 4.461 GB, free: 26.67 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/10.01, allocations: 331 kB / 4.461 GB, free: 26.33 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005144/10.01, allocations: 27.98 kB / 4.461 GB, free: 26.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/10.01, allocations: 115.6 kB / 4.462 GB, free: 26.19 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/10.01, allocations: 48.5 kB / 4.462 GB, free: 26.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/10.01, allocations: 27.98 kB / 4.462 GB, free: 26.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001697/10.01, allocations: 0.8243 MB / 4.462 GB, free: 25.29 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/10.01, allocations: 0 / 4.462 GB, free: 25.29 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004228/10.02, allocations: 0.9943 MB / 4.463 GB, free: 24.29 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005991/10.02, allocations: 4.638 MB / 4.468 GB, free: 19.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00288/10.03, allocations: 1.389 MB / 4.469 GB, free: 18.09 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/10.03, allocations: 4 kB / 4.469 GB, free: 18.08 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/10.03, allocations: 407.7 kB / 4.47 GB, free: 17.68 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/10.03, allocations: 0.8011 MB / 4.47 GB, free: 16.89 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/10.05, allocations: 9.769 MB / 4.48 GB, free: 6.734 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/10.05, allocations: 1.312 MB / 4.481 GB, free: 5.391 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001754/10.05, allocations: 351.3 kB / 4.482 GB, free: 5.043 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007294/10.05, allocations: 0.5812 MB / 4.482 GB, free: 4.469 MB / 1.167 GB Notification: Performance of SimCode: time 2.164e-06/10.05, allocations: 0 / 4.482 GB, free: 4.469 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9124/10.96, allocations: 67.59 MB / 4.548 GB, free: 202.1 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/10.96, allocations: 288.8 kB / 4.548 GB, free: 201.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.711/15.67, allocations: 2.672 kB / 4.548 GB, free: 201.8 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat does not exist to compare? outputFormat=mat