Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.734/2.734, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001535/0.001535, allocations: 184.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001135/0.001134, allocations: 92.33 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.875e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8568, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.031/7.888, allocations: 2.333 GB / 3.297 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/7.888, allocations: 96.66 kB / 3.297 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.758/13.65, allocations: 0.9966 GB / 4.293 GB, free: 143.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/13.65, allocations: 0 / 4.293 GB, free: 143.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002499/13.65, allocations: 52.28 kB / 4.293 GB, free: 143.6 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.006534/13.65, allocations: 1.874 MB / 4.295 GB, free: 142.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/13.65, allocations: 11.28 kB / 4.295 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/13.66, allocations: 339.5 kB / 4.296 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/13.66, allocations: 1.587 MB / 4.297 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/13.66, allocations: 38.31 kB / 4.297 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/13.66, allocations: 80.86 kB / 4.297 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/13.66, allocations: 0.7785 MB / 4.298 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/13.67, allocations: 0.9745 MB / 4.299 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/13.67, allocations: 0 / 4.299 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/13.67, allocations: 2.938 kB / 4.299 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.947e-05/13.67, allocations: 39.3 kB / 4.299 GB, free: 142.2 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.01122/13.68, allocations: 5.289 MB / 4.304 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/13.68, allocations: 0.8162 MB / 4.305 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/13.68, allocations: 355.6 kB / 4.305 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/13.68, allocations: 0.6046 MB / 4.306 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/13.68, allocations: 47.09 kB / 4.306 GB, free: 138.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.737e-06/13.68, allocations: 0 / 4.306 GB, free: 138.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.003238/13.69, allocations: 0.8176 MB / 4.307 GB, free: 138.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/13.69, allocations: 62.38 kB / 4.307 GB, free: 138.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/13.69, allocations: 0.8712 MB / 4.308 GB, free: 138.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/13.69, allocations: 25.7 kB / 4.308 GB, free: 138.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/13.69, allocations: 0.6894 MB / 4.308 GB, free: 138 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/13.69, allocations: 240.2 kB / 4.309 GB, free: 137.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/13.69, allocations: 2.188 kB / 4.309 GB, free: 137.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/13.69, allocations: 340.3 kB / 4.309 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/13.69, allocations: 231.4 kB / 4.309 GB, free: 137.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/13.69, allocations: 475.1 kB / 4.31 GB, free: 137.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/13.69, allocations: 320.8 kB / 4.31 GB, free: 137.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/13.69, allocations: 7.797 kB / 4.31 GB, free: 137.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002916/13.69, allocations: 0.8714 MB / 4.311 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/13.69, allocations: 1.077 MB / 4.312 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/13.69, allocations: 2.844 kB / 4.312 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/13.69, allocations: 85.78 kB / 4.312 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/13.7, allocations: 169.5 kB / 4.312 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/13.7, allocations: 1.784 MB / 4.314 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/13.7, allocations: 132.1 kB / 4.314 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/13.7, allocations: 33 kB / 4.314 GB, free: 134.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/13.7, allocations: 3.75 kB / 4.314 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/13.7, allocations: 0.667 MB / 4.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/13.7, allocations: 3.719 kB / 4.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/13.7, allocations: 102.9 kB / 4.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/13.7, allocations: 144.4 kB / 4.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/13.71, allocations: 2.959 MB / 4.318 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/13.71, allocations: 130.3 kB / 4.318 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/13.71, allocations: 28.31 kB / 4.318 GB, free: 131.8 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.0003298/13.71, allocations: 132.2 kB / 4.318 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002321/13.71, allocations: 0.7466 MB / 4.319 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/13.71, allocations: 135.2 kB / 4.319 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/13.72, allocations: 0.8287 MB / 4.32 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/13.72, allocations: 10.23 kB / 4.32 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/13.72, allocations: 0 / 4.32 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001871/13.72, allocations: 0.9787 MB / 4.321 GB, free: 130.8 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.006198/13.72, allocations: 2.175 MB / 4.323 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/13.72, allocations: 11.08 kB / 4.323 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/13.73, allocations: 154.6 kB / 4.323 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/13.73, allocations: 72.58 kB / 4.323 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/13.73, allocations: 11.64 kB / 4.323 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/13.73, allocations: 1.734 MB / 4.325 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/13.73, allocations: 10.34 kB / 4.325 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/13.73, allocations: 1.444 MB / 4.326 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/13.73, allocations: 313.9 kB / 4.326 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/13.73, allocations: 6.406 kB / 4.326 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/13.73, allocations: 107.8 kB / 4.327 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/13.73, allocations: 55.27 kB / 4.327 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/13.73, allocations: 30.55 kB / 4.327 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001381/13.74, allocations: 0.6662 MB / 4.327 GB, free: 128 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.91e-07/13.74, allocations: 0 / 4.327 GB, free: 128 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004798/13.74, allocations: 0.9209 MB / 4.328 GB, free: 127.8 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.007473/13.75, allocations: 4.671 MB / 4.333 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00353/13.75, allocations: 1.272 MB / 4.334 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/13.75, allocations: 0 / 4.334 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/13.75, allocations: 353.4 kB / 4.334 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/13.76, allocations: 0.7479 MB / 4.335 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/13.77, allocations: 2.367 MB / 4.337 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009916/13.77, allocations: 1.318 MB / 4.339 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003393/13.77, allocations: 428.2 kB / 4.339 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/13.77, allocations: 0.5444 MB / 4.34 GB, free: 124 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/13.77, allocations: 0 / 4.34 GB, free: 124 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/13.96, allocations: 52.14 MB / 4.391 GB, free: 120.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/13.96, allocations: 205.7 kB / 4.391 GB, free: 120.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.012/18.97, allocations: 0 / 4.391 GB, free: 120.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)