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.686/1.686, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001166/0.001166, allocations: 191.6 kB / 371.9 MB, free: 10.23 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.592/1.592, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.001019/0.001019, allocations: 93.2 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 13.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2461, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/6.127, allocations: 2.334 GB / 3.314 GB, free: 275.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.127, allocations: 101.9 kB / 3.314 GB, free: 275.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.264/9.392, allocations: 1.007 GB / 4.321 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/9.392, allocations: 0 / 4.321 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001634/9.392, allocations: 51.98 kB / 4.321 GB, free: 14.19 MB / 0.9636 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.005871/9.398, allocations: 2.164 MB / 4.323 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/9.398, allocations: 8.031 kB / 4.323 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/9.4, allocations: 357.3 kB / 4.323 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/9.404, allocations: 1.593 MB / 4.325 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/9.404, allocations: 86.16 kB / 4.325 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/9.404, allocations: 124 kB / 4.325 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/9.407, allocations: 1.181 MB / 4.326 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/9.407, allocations: 0 / 4.326 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/9.407, allocations: 48 kB / 4.326 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/9.408, allocations: 46.08 kB / 4.326 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/9.411, allocations: 0.9413 MB / 4.327 GB, free: 7.48 MB / 0.9636 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.01271/9.423, allocations: 5.513 MB / 4.333 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/9.425, allocations: 0.8797 MB / 4.334 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6014/10.03, allocations: 0.5989 MB / 4.334 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/10.03, allocations: 39.25 kB / 4.334 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 3.967e-06/10.03, allocations: 0.9375 kB / 4.334 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.004275/10.03, allocations: 1.396 MB / 4.336 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/10.03, allocations: 60.16 kB / 4.336 GB, free: 145 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/10.03, allocations: 1.044 MB / 4.337 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/10.03, allocations: 46.2 kB / 4.337 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/10.03, allocations: 0.6918 MB / 4.337 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/10.03, allocations: 250.2 kB / 4.338 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/10.03, allocations: 13 kB / 4.338 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/10.03, allocations: 334.7 kB / 4.338 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/10.04, allocations: 278.3 kB / 4.338 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/10.04, allocations: 0.5177 MB / 4.339 GB, free: 144 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/10.04, allocations: 363.7 kB / 4.339 GB, free: 144 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/10.04, allocations: 0.9688 kB / 4.339 GB, free: 144 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002201/10.04, allocations: 0.9705 MB / 4.34 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/10.04, allocations: 0.9078 MB / 4.341 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/10.04, allocations: 3.312 kB / 4.341 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/10.04, allocations: 105 kB / 4.341 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/10.04, allocations: 158.1 kB / 4.341 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009356/10.04, allocations: 1.758 MB / 4.343 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/10.04, allocations: 164.2 kB / 4.343 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/10.04, allocations: 34.56 kB / 4.343 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/10.04, allocations: 7.438 kB / 4.343 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/10.04, allocations: 0.7986 MB / 4.344 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/10.04, allocations: 10.52 kB / 4.344 GB, free: 141.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/10.05, allocations: 91.53 kB / 4.344 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/10.05, allocations: 150.7 kB / 4.344 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/10.05, allocations: 3.146 MB / 4.347 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/10.05, allocations: 161.7 kB / 4.347 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/10.05, allocations: 28.64 kB / 4.347 GB, free: 138.5 MB / 0.9636 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.001043/10.05, allocations: 441 kB / 4.348 GB, free: 138.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/10.05, allocations: 151.7 kB / 4.348 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/10.05, allocations: 0.968 MB / 4.349 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/10.05, allocations: 10.58 kB / 4.349 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/10.05, allocations: 0.9062 kB / 4.349 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/10.06, allocations: 1.088 MB / 4.35 GB, free: 137.7 MB / 0.9636 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.005517/10.06, allocations: 2.451 MB / 4.352 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/10.06, allocations: 6.188 kB / 4.352 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/10.06, allocations: 159.7 kB / 4.353 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/10.06, allocations: 94.2 kB / 4.353 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/10.06, allocations: 18.34 kB / 4.353 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007434/10.06, allocations: 1.74 MB / 4.354 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/10.06, allocations: 2.75 kB / 4.354 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/10.07, allocations: 1.619 MB / 4.356 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/10.07, allocations: 319.7 kB / 4.356 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/10.07, allocations: 22.03 kB / 4.356 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/10.07, allocations: 123.2 kB / 4.356 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/10.07, allocations: 48.09 kB / 4.356 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/10.07, allocations: 34.5 kB / 4.356 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001382/10.07, allocations: 0.8218 MB / 4.357 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.2e-07/10.07, allocations: 0 / 4.357 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003704/10.07, allocations: 0.9838 MB / 4.358 GB, free: 134.8 MB / 0.9636 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.003547/10.08, allocations: 2.047 MB / 4.36 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003137/10.08, allocations: 1.397 MB / 4.362 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/10.08, allocations: 1.219 kB / 4.362 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/10.08, allocations: 412.8 kB / 4.362 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/10.09, allocations: 0.8016 MB / 4.363 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/10.09, allocations: 3.265 MB / 4.366 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/10.09, allocations: 1.315 MB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002054/10.09, allocations: 348.5 kB / 4.368 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/10.09, allocations: 101.6 kB / 4.368 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/10.09, allocations: 0 / 4.368 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.08308/10.18, allocations: 48.35 MB / 4.415 GB, free: 130.4 MB / 0.9636 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)