Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.2 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001275, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009274/0.0009278, allocations: 95.69 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 17.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.633/6.885, allocations: 2.334 GB / 3.314 GB, free: 342.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/6.886, allocations: 102.4 kB / 3.314 GB, free: 342.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.402/10.29, allocations: 1.007 GB / 4.321 GB, free: 48.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/10.29, allocations: 0 / 4.321 GB, free: 48.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002947/10.29, allocations: 47.98 kB / 4.321 GB, free: 48.77 MB / 0.948 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.008506/10.3, allocations: 2.17 MB / 4.323 GB, free: 46.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/10.3, allocations: 12.03 kB / 4.323 GB, free: 46.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008983/10.3, allocations: 168.9 kB / 4.323 GB, free: 46.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/10.3, allocations: 345.5 kB / 4.324 GB, free: 46.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/10.31, allocations: 1.612 MB / 4.325 GB, free: 44.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/10.31, allocations: 86.16 kB / 4.325 GB, free: 44.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/10.31, allocations: 116 kB / 4.325 GB, free: 44.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00377/10.31, allocations: 1.185 MB / 4.327 GB, free: 42.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/10.31, allocations: 3.938 kB / 4.327 GB, free: 42.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/10.31, allocations: 44 kB / 4.327 GB, free: 42.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/10.31, allocations: 46.14 kB / 4.327 GB, free: 42.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/10.31, allocations: 0.9375 MB / 4.328 GB, free: 41.9 MB / 0.948 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.008882/10.32, allocations: 5.509 MB / 4.333 GB, free: 35.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/10.32, allocations: 0.877 MB / 4.334 GB, free: 35.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/10.32, allocations: 0.6019 MB / 4.334 GB, free: 34.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/10.32, allocations: 51.06 kB / 4.334 GB, free: 34.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.965e-06/10.32, allocations: 0 / 4.334 GB, free: 34.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.003262/10.33, allocations: 1.392 MB / 4.336 GB, free: 32.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/10.33, allocations: 63.91 kB / 4.336 GB, free: 32.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/10.33, allocations: 1.038 MB / 4.337 GB, free: 31.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/10.33, allocations: 45.92 kB / 4.337 GB, free: 31.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/10.33, allocations: 0.6931 MB / 4.338 GB, free: 30.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/10.33, allocations: 256.3 kB / 4.338 GB, free: 30.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/10.33, allocations: 12 kB / 4.338 GB, free: 30.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/10.33, allocations: 330 kB / 4.338 GB, free: 30.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/10.33, allocations: 277.8 kB / 4.338 GB, free: 30.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/10.33, allocations: 0.5253 MB / 4.339 GB, free: 29.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/10.33, allocations: 354 kB / 4.339 GB, free: 29.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/10.33, allocations: 0 / 4.339 GB, free: 29.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00189/10.33, allocations: 0.9773 MB / 4.34 GB, free: 28.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/10.33, allocations: 0.9011 MB / 4.341 GB, free: 27.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/10.33, allocations: 4 kB / 4.341 GB, free: 27.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/10.34, allocations: 101.5 kB / 4.341 GB, free: 27.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/10.34, allocations: 159.7 kB / 4.341 GB, free: 26.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008819/10.34, allocations: 1.761 MB / 4.343 GB, free: 25.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/10.34, allocations: 167.2 kB / 4.343 GB, free: 24.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/10.34, allocations: 35.98 kB / 4.343 GB, free: 24.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/10.34, allocations: 5.875 kB / 4.343 GB, free: 24.86 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/10.34, allocations: 0.8016 MB / 4.344 GB, free: 24.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/10.34, allocations: 4 kB / 4.344 GB, free: 24.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/10.34, allocations: 101.8 kB / 4.344 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/10.34, allocations: 143.8 kB / 4.344 GB, free: 23.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/10.34, allocations: 3.153 MB / 4.347 GB, free: 20.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/10.35, allocations: 163.2 kB / 4.348 GB, free: 20.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/10.35, allocations: 31.98 kB / 4.348 GB, free: 20.17 MB / 0.948 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.0009885/10.35, allocations: 437.4 kB / 4.348 GB, free: 19.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/10.35, allocations: 138.3 kB / 4.348 GB, free: 19.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/10.35, allocations: 0.9733 MB / 4.349 GB, free: 18.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/10.35, allocations: 4 kB / 4.349 GB, free: 18.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/10.35, allocations: 4 kB / 4.349 GB, free: 18.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/10.35, allocations: 1.087 MB / 4.35 GB, free: 17.42 MB / 0.948 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.004735/10.35, allocations: 2.462 MB / 4.353 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/10.35, allocations: 0 / 4.353 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/10.36, allocations: 164.1 kB / 4.353 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/10.36, allocations: 85.55 kB / 4.353 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/10.36, allocations: 20 kB / 4.353 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/10.36, allocations: 1.738 MB / 4.355 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/10.36, allocations: 0 / 4.355 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/10.36, allocations: 1.624 MB / 4.356 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/10.36, allocations: 327.1 kB / 4.356 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/10.36, allocations: 16 kB / 4.356 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/10.36, allocations: 115.7 kB / 4.357 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/10.36, allocations: 60.42 kB / 4.357 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/10.36, allocations: 32.17 kB / 4.357 GB, free: 10.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001457/10.36, allocations: 0.8161 MB / 4.357 GB, free: 9.656 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/10.36, allocations: 0 / 4.357 GB, free: 9.656 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004092/10.37, allocations: 0.9903 MB / 4.358 GB, free: 8.664 MB / 0.948 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.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],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.005905/10.37, allocations: 4.659 MB / 4.363 GB, free: 3.871 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002799/10.38, allocations: 1.393 MB / 4.364 GB, free: 2.453 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/10.38, allocations: 0 / 4.364 GB, free: 2.453 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/10.38, allocations: 423.7 kB / 4.365 GB, free: 2.039 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/10.38, allocations: 0.7928 MB / 4.365 GB, free: 1.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/10.4, allocations: 9.725 MB / 4.375 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/10.4, allocations: 1.312 MB / 4.376 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002198/10.4, allocations: 349.2 kB / 4.377 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/10.4, allocations: 0.5735 MB / 4.377 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of SimCode: time 2.274e-06/10.4, allocations: 4 kB / 4.377 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8088/11.21, allocations: 67.7 MB / 4.443 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/11.21, allocations: 281.5 kB / 4.444 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.769/15.98, allocations: 0 / 4.444 GB, free: 139.2 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)