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.704/1.704, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001148/0.001148, allocations: 180.8 kB / 361.4 MB, free: 6.824 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.774/1.774, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 89.28 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.986e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8379, allocations: 115.3 MB / 0.9645 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.324/7.162, allocations: 2.333 GB / 3.298 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/7.163, allocations: 99.91 kB / 3.298 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.998/11.16, allocations: 0.9966 GB / 4.295 GB, free: 141.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/11.16, allocations: 2.625 kB / 4.295 GB, free: 141.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003629/11.16, allocations: 46.06 kB / 4.295 GB, free: 141.9 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.006486/11.17, allocations: 1.878 MB / 4.296 GB, free: 141.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/11.17, allocations: 7.781 kB / 4.296 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/11.17, allocations: 349 kB / 4.297 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005597/11.18, allocations: 1.578 MB / 4.298 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/11.18, allocations: 34.47 kB / 4.298 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005616/11.18, allocations: 79.89 kB / 4.298 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/11.18, allocations: 0.7785 MB / 4.299 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/11.18, allocations: 0.974 MB / 4.3 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/11.18, allocations: 2.031 kB / 4.3 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/11.18, allocations: 3.031 kB / 4.3 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/11.18, allocations: 45.47 kB / 4.3 GB, free: 140.5 MB / 0.948 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.007785/11.19, allocations: 5.273 MB / 4.305 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/11.19, allocations: 0.8129 MB / 4.306 GB, free: 137.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/11.19, allocations: 360 kB / 4.307 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/11.19, allocations: 0.6085 MB / 4.307 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/11.19, allocations: 43.66 kB / 4.307 GB, free: 136.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/11.19, allocations: 2.516 kB / 4.307 GB, free: 136.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002324/11.19, allocations: 0.8109 MB / 4.308 GB, free: 136.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/11.19, allocations: 60.97 kB / 4.308 GB, free: 136.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/11.2, allocations: 0.8779 MB / 4.309 GB, free: 136.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/11.2, allocations: 25.7 kB / 4.309 GB, free: 136.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/11.2, allocations: 0.6888 MB / 4.31 GB, free: 136.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/11.2, allocations: 238.1 kB / 4.31 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/11.2, allocations: 1.594 kB / 4.31 GB, free: 136.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/11.2, allocations: 334.1 kB / 4.31 GB, free: 135.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/11.2, allocations: 233.3 kB / 4.31 GB, free: 135.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/11.2, allocations: 479.3 kB / 4.311 GB, free: 135.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/11.2, allocations: 325.7 kB / 4.311 GB, free: 135.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/11.2, allocations: 2.906 kB / 4.311 GB, free: 135.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001996/11.2, allocations: 0.8816 MB / 4.312 GB, free: 135.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000334/11.2, allocations: 1.075 MB / 4.313 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/11.2, allocations: 3.875 kB / 4.313 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/11.2, allocations: 86.38 kB / 4.313 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/11.2, allocations: 159.4 kB / 4.313 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/11.2, allocations: 1.783 MB / 4.315 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/11.21, allocations: 132.9 kB / 4.315 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/11.21, allocations: 35.67 kB / 4.315 GB, free: 132.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/11.21, allocations: 6.453 kB / 4.315 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/11.21, allocations: 0.6657 MB / 4.316 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/11.21, allocations: 0 / 4.316 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/11.21, allocations: 94.56 kB / 4.316 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/11.21, allocations: 149.4 kB / 4.316 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/11.21, allocations: 2.964 MB / 4.319 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/11.21, allocations: 130.1 kB / 4.319 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/11.21, allocations: 30.84 kB / 4.319 GB, free: 130 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0002858/11.21, allocations: 127.1 kB / 4.319 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001677/11.21, allocations: 0.7416 MB / 4.32 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/11.21, allocations: 136.8 kB / 4.32 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/11.22, allocations: 0.8327 MB / 4.321 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/11.22, allocations: 7.406 kB / 4.321 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/11.22, allocations: 0 / 4.321 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/11.22, allocations: 0.9753 MB / 4.322 GB, free: 129.1 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004566/11.22, allocations: 2.189 MB / 4.324 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/11.22, allocations: 0 / 4.324 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/11.22, allocations: 157.6 kB / 4.324 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/11.22, allocations: 64.83 kB / 4.324 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/11.22, allocations: 17.62 kB / 4.324 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007419/11.22, allocations: 1.741 MB / 4.326 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/11.22, allocations: 0.9375 kB / 4.326 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/11.23, allocations: 1.447 MB / 4.327 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/11.23, allocations: 310 kB / 4.328 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/11.23, allocations: 15.91 kB / 4.328 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/11.23, allocations: 107.4 kB / 4.328 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/11.23, allocations: 55.64 kB / 4.328 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/11.23, allocations: 25.69 kB / 4.328 GB, free: 126.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00127/11.23, allocations: 0.6711 MB / 4.328 GB, free: 126.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/11.23, allocations: 3.125 kB / 4.328 GB, free: 126.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004039/11.23, allocations: 0.9162 MB / 4.329 GB, free: 126.1 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 () * 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.005893/11.24, allocations: 4.682 MB / 4.334 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002484/11.24, allocations: 1.272 MB / 4.335 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/11.24, allocations: 0 / 4.335 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/11.24, allocations: 351.3 kB / 4.336 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/11.25, allocations: 0.7418 MB / 4.336 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/11.25, allocations: 2.37 MB / 4.339 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/11.25, allocations: 1.318 MB / 4.34 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002486/11.26, allocations: 429.6 kB / 4.34 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/11.26, allocations: 0.5354 MB / 4.341 GB, free: 122.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.575e-06/11.26, allocations: 3.438 kB / 4.341 GB, free: 122.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/11.36, allocations: 52.17 MB / 4.392 GB, free: 118.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/11.36, allocations: 203.8 kB / 4.392 GB, free: 118.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.217/15.58, allocations: 0 / 4.392 GB, free: 118.5 MB / 0.948 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)