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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 285.4 MB / 298 MB, free: 5.969 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.001174/0.001174, allocations: 184.8 kB / 366.4 MB, free: 2.078 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.759/1.759, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008569/0.0008566, allocations: 97.38 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.167e-05/5.178e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7732, allocations: 115.3 MB / 0.9709 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.208/6.982, allocations: 2.334 GB / 3.305 GB, free: 117.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.982, allocations: 91.73 kB / 3.305 GB, free: 117.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298/11.28, allocations: 1.006 GB / 4.311 GB, free: 141.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.973e-06/11.28, allocations: 0 / 4.311 GB, free: 141.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003106/11.28, allocations: 48.97 kB / 4.311 GB, free: 141.3 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.006666/11.29, allocations: 1.869 MB / 4.312 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/11.29, allocations: 10.97 kB / 4.312 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/11.29, allocations: 350 kB / 4.313 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/11.3, allocations: 1.578 MB / 4.314 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/11.3, allocations: 87.75 kB / 4.314 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/11.3, allocations: 128.7 kB / 4.315 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/11.3, allocations: 1.126 MB / 4.316 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/11.3, allocations: 0 / 4.316 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/11.3, allocations: 51.88 kB / 4.316 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/11.3, allocations: 48.42 kB / 4.316 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/11.3, allocations: 0.8486 MB / 4.317 GB, free: 139.7 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.007386/11.31, allocations: 5.5 MB / 4.322 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/11.31, allocations: 0.8413 MB / 4.323 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/11.31, allocations: 377 kB / 4.323 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/11.31, allocations: 0.6064 MB / 4.324 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/11.31, allocations: 44.03 kB / 4.324 GB, free: 136.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.459e-06/11.31, allocations: 0 / 4.324 GB, free: 136.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001796/11.31, allocations: 0.8188 MB / 4.325 GB, free: 135.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/11.31, allocations: 59.72 kB / 4.325 GB, free: 135.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/11.31, allocations: 1.036 MB / 4.326 GB, free: 135.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/11.31, allocations: 51.31 kB / 4.326 GB, free: 135.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/11.31, allocations: 0.6847 MB / 4.326 GB, free: 135.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/11.31, allocations: 248 kB / 4.327 GB, free: 135.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/11.31, allocations: 15.03 kB / 4.327 GB, free: 135.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/11.31, allocations: 334.4 kB / 4.327 GB, free: 135 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/11.31, allocations: 240.4 kB / 4.327 GB, free: 135 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/11.31, allocations: 490 kB / 4.328 GB, free: 134.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/11.31, allocations: 321.5 kB / 4.328 GB, free: 134.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/11.31, allocations: 3.781 kB / 4.328 GB, free: 134.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001429/11.32, allocations: 0.9054 MB / 4.329 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/11.32, allocations: 0.8971 MB / 4.33 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/11.32, allocations: 2.844 kB / 4.33 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/11.32, allocations: 104.3 kB / 4.33 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/11.32, allocations: 159.1 kB / 4.33 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/11.32, allocations: 1.762 MB / 4.332 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/11.32, allocations: 166.1 kB / 4.332 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/11.32, allocations: 31.77 kB / 4.332 GB, free: 131.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/11.32, allocations: 4.062 kB / 4.332 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/11.32, allocations: 0.7271 MB / 4.333 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/11.32, allocations: 7.562 kB / 4.333 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/11.32, allocations: 90.75 kB / 4.333 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/11.32, allocations: 152.8 kB / 4.333 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/11.32, allocations: 3.12 MB / 4.336 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/11.33, allocations: 164.8 kB / 4.336 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/11.33, allocations: 24 kB / 4.336 GB, free: 129 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 () * 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.0002675/11.33, allocations: 155.7 kB / 4.336 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/11.33, allocations: 145.3 kB / 4.336 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/11.33, allocations: 0.8968 MB / 4.337 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/11.33, allocations: 8.953 kB / 4.337 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/11.33, allocations: 0 / 4.337 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/11.33, allocations: 1.013 MB / 4.338 GB, free: 128.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 postOpt removeSimpleEquations (simulation): time 0.004031/11.33, allocations: 2.381 MB / 4.341 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/11.33, allocations: 3.812 kB / 4.341 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/11.33, allocations: 170.6 kB / 4.341 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/11.33, allocations: 85.48 kB / 4.341 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/11.33, allocations: 15.66 kB / 4.341 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/11.33, allocations: 1.736 MB / 4.342 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/11.33, allocations: 7.906 kB / 4.342 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/11.34, allocations: 1.506 MB / 4.344 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007713/11.34, allocations: 327.3 kB / 4.344 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/11.34, allocations: 21.3 kB / 4.344 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/11.34, allocations: 126.3 kB / 4.344 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/11.34, allocations: 41.81 kB / 4.344 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/11.34, allocations: 38.81 kB / 4.344 GB, free: 124.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001256/11.34, allocations: 0.8138 MB / 4.345 GB, free: 124 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/11.34, allocations: 0 / 4.345 GB, free: 124 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003242/11.34, allocations: 0.9838 MB / 4.346 GB, free: 123.7 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.003431/11.35, allocations: 2.03 MB / 4.348 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002484/11.35, allocations: 1.331 MB / 4.35 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/11.35, allocations: 3.031 kB / 4.35 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006582/11.35, allocations: 376.3 kB / 4.35 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/11.35, allocations: 0.7927 MB / 4.351 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/11.36, allocations: 2.109 MB / 4.353 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/11.36, allocations: 1.312 MB / 4.354 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002778/11.36, allocations: 467.2 kB / 4.354 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/11.36, allocations: 79.52 kB / 4.355 GB, free: 120.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.224e-06/11.36, allocations: 0 / 4.355 GB, free: 120.5 MB / 0.948 GB Notification: Performance of Templates: time 0.08189/11.45, allocations: 55.6 MB / 4.409 GB, free: 89.11 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)