Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.647/3.647, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0021/0.0021, allocations: 185 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.764/2.764, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009472/0.000947, allocations: 81.08 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006442, allocations: 13.19 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.552/7.778, allocations: 2.451 GB / 3.35 GB, free: 69.85 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/7.778, allocations: 103.1 kB / 3.35 GB, free: 69.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.316/13.09, allocations: 0.969 GB / 4.319 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.906e-06/13.09, allocations: 10.84 kB / 4.319 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003157/13.09, allocations: 50.72 kB / 4.319 GB, free: 117.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.008532/13.1, allocations: 2.176 MB / 4.322 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/13.1, allocations: 8.031 kB / 4.322 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/13.11, allocations: 344.9 kB / 4.322 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/13.11, allocations: 1.569 MB / 4.323 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/13.11, allocations: 86.55 kB / 4.324 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/13.11, allocations: 124.9 kB / 4.324 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/13.12, allocations: 1.191 MB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/13.12, allocations: 7.875 kB / 4.325 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/13.12, allocations: 48 kB / 4.325 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7e-05/13.12, allocations: 38.16 kB / 4.325 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/13.12, allocations: 0.9414 MB / 4.326 GB, free: 110.6 MB / 0.8855 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.01215/13.13, allocations: 5.503 MB / 4.331 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/13.13, allocations: 0.8702 MB / 4.332 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/13.14, allocations: 418.2 kB / 4.332 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/13.14, allocations: 0.6057 MB / 4.333 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/13.14, allocations: 43.12 kB / 4.333 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 4.077e-06/13.14, allocations: 0 / 4.333 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.006228/13.14, allocations: 1.454 MB / 4.335 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/13.14, allocations: 59.97 kB / 4.335 GB, free: 101 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/13.15, allocations: 1.179 MB / 4.336 GB, free: 99.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003035/13.15, allocations: 45.7 kB / 4.336 GB, free: 99.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/13.15, allocations: 0.694 MB / 4.336 GB, free: 99.08 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/13.15, allocations: 248.3 kB / 4.337 GB, free: 98.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/13.15, allocations: 16 kB / 4.337 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/13.15, allocations: 341.9 kB / 4.337 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009267/13.15, allocations: 273.8 kB / 4.337 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/13.15, allocations: 0.5255 MB / 4.338 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/13.15, allocations: 352.5 kB / 4.338 GB, free: 97.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/13.15, allocations: 0 / 4.338 GB, free: 97.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003454/13.15, allocations: 1.012 MB / 4.339 GB, free: 96.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/13.15, allocations: 153.4 kB / 4.339 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/13.15, allocations: 4 kB / 4.339 GB, free: 96.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/13.15, allocations: 157.1 kB / 4.339 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/13.16, allocations: 175.8 kB / 4.34 GB, free: 95.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/13.16, allocations: 1.745 MB / 4.341 GB, free: 93.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/13.16, allocations: 167.2 kB / 4.341 GB, free: 93.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/13.16, allocations: 31.98 kB / 4.341 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/13.16, allocations: 5.562 kB / 4.341 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/13.16, allocations: 0.8055 MB / 4.342 GB, free: 92.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/13.16, allocations: 0 / 4.342 GB, free: 92.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/13.16, allocations: 93.8 kB / 4.342 GB, free: 92.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/13.16, allocations: 147.8 kB / 4.343 GB, free: 92.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/13.17, allocations: 3.137 MB / 4.346 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/13.17, allocations: 155.3 kB / 4.346 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/13.17, allocations: 32 kB / 4.346 GB, free: 89.04 MB / 0.8855 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.001113/13.17, allocations: 442 kB / 4.346 GB, free: 88.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/13.17, allocations: 146.2 kB / 4.346 GB, free: 88.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/13.17, allocations: 0.9772 MB / 4.347 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/13.17, allocations: 11.94 kB / 4.347 GB, free: 87.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/13.17, allocations: 0 / 4.347 GB, free: 87.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/13.18, allocations: 1.079 MB / 4.348 GB, free: 86.27 MB / 0.8855 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.00646/13.18, allocations: 2.443 MB / 4.351 GB, free: 83.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/13.18, allocations: 4 kB / 4.351 GB, free: 83.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/13.18, allocations: 151.8 kB / 4.351 GB, free: 83.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/13.19, allocations: 109.7 kB / 4.351 GB, free: 83.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/13.19, allocations: 23.98 kB / 4.351 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009783/13.19, allocations: 1.73 MB / 4.353 GB, free: 81.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/13.19, allocations: 4.062 kB / 4.353 GB, free: 81.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/13.19, allocations: 1.481 MB / 4.354 GB, free: 80.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/13.19, allocations: 331 kB / 4.354 GB, free: 79.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/13.19, allocations: 19.92 kB / 4.354 GB, free: 79.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/13.19, allocations: 119.7 kB / 4.355 GB, free: 79.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/13.19, allocations: 48.5 kB / 4.355 GB, free: 79.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/13.19, allocations: 31.98 kB / 4.355 GB, free: 79.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001718/13.2, allocations: 0.8123 MB / 4.355 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/13.2, allocations: 0 / 4.355 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004546/13.2, allocations: 0.9864 MB / 4.356 GB, free: 77.73 MB / 0.8855 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.003632/13.2, allocations: 2.038 MB / 4.358 GB, free: 75.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004343/13.21, allocations: 1.4 MB / 4.36 GB, free: 74.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/13.21, allocations: 4 kB / 4.36 GB, free: 74.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/13.21, allocations: 411.7 kB / 4.36 GB, free: 73.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/13.22, allocations: 0.8082 MB / 4.361 GB, free: 73.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/13.22, allocations: 3.284 MB / 4.364 GB, free: 69.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/13.22, allocations: 1.281 MB / 4.365 GB, free: 68.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002445/13.23, allocations: 355 kB / 4.366 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/13.23, allocations: 107.4 kB / 4.366 GB, free: 68.05 MB / 0.8855 GB Notification: Performance of SimCode: time 1.684e-06/13.23, allocations: 0 / 4.366 GB, free: 68.05 MB / 0.8855 GB Notification: Performance of Templates: time 0.1323/13.36, allocations: 48.18 MB / 4.413 GB, free: 20.38 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)