Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009454/0.0009454, allocations: 167.5 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205 MB / 0.5766 GB, free: 21 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.0008792/0.0008792, allocations: 85.25 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8.875 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.7519/0.9877, allocations: 245.8 MB / 1.137 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01929/1.007, allocations: 12.03 MB / 1.149 GB, free: 388 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/1.01, allocations: 65.59 kB / 1.149 GB, free: 388 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/1.013, allocations: 0.8856 MB / 1.15 GB, free: 364 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009337/1.022, allocations: 2.976 MB / 1.152 GB, free: 216 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004479/1.027, allocations: 1.443 MB / 1.154 GB, free: 160 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009266/1.036, allocations: 6.428 MB / 1.16 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/1.039, allocations: 1.23 MB / 1.161 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/1.045, allocations: 1.818 MB / 1.163 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/1.048, allocations: 1.305 MB / 1.164 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005736/1.049, allocations: 62.28 kB / 1.164 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/1.055, allocations: 2.441 MB / 1.167 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009316/1.056, allocations: 448.2 kB / 1.167 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/1.059, allocations: 0.8764 MB / 1.168 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/1.063, allocations: 2.448 MB / 1.17 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.063, allocations: 0 / 1.17 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.795e-06/1.063, allocations: 0 / 1.17 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001239/1.063, allocations: 0 / 1.17 GB, free: 10.73 MB / 0.7136 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.005346/1.069, allocations: 1.918 MB / 1.172 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.069, allocations: 12.64 kB / 1.172 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.071, allocations: 352.5 kB / 1.173 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/1.074, allocations: 1.343 MB / 1.174 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/1.074, allocations: 90.39 kB / 1.174 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/1.074, allocations: 126.3 kB / 1.174 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/1.077, allocations: 1.224 MB / 1.175 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/1.077, allocations: 6.031 kB / 1.175 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004952/1.078, allocations: 45.41 kB / 1.175 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/1.078, allocations: 47.14 kB / 1.175 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/1.082, allocations: 0.9782 MB / 1.176 GB, free: 6.844 MB / 0.7136 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.01437/1.096, allocations: 5.539 MB / 1.182 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.099, allocations: 0.8739 MB / 1.183 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/1.1, allocations: 421 kB / 1.183 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009821/1.101, allocations: 0.6044 MB / 1.184 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.101, allocations: 40.22 kB / 1.184 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 5.861e-06/1.101, allocations: 4.156 kB / 1.184 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.006196/1.107, allocations: 1.462 MB / 1.185 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/1.107, allocations: 67.03 kB / 1.185 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/1.111, allocations: 1.204 MB / 1.186 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.111, allocations: 41.7 kB / 1.186 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009092/1.112, allocations: 0.6843 MB / 1.187 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/1.112, allocations: 243.7 kB / 1.187 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/1.112, allocations: 73.67 kB / 1.187 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.113, allocations: 337.9 kB / 1.188 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.114, allocations: 305.8 kB / 1.188 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.115, allocations: 0.5411 MB / 1.189 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/1.118, allocations: 0.7448 MB / 1.189 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.118, allocations: 4 kB / 1.189 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004829/1.123, allocations: 1.093 MB / 1.19 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.123, allocations: 169.9 kB / 1.191 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.123, allocations: 4 kB / 1.191 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/1.124, allocations: 152.8 kB / 1.191 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.126, allocations: 178.9 kB / 1.191 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.128, allocations: 1.769 MB / 1.193 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/1.131, allocations: 175.2 kB / 1.193 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.131, allocations: 32 kB / 1.193 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.131, allocations: 4 kB / 1.193 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/1.135, allocations: 0.8691 MB / 1.194 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.135, allocations: 0 / 1.194 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/1.135, allocations: 89.66 kB / 1.194 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.137, allocations: 162.2 kB / 1.194 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/1.142, allocations: 3.138 MB / 1.197 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.144, allocations: 172 kB / 1.197 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/1.144, allocations: 28 kB / 1.197 GB, free: 3.621 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001387/1.146, allocations: 435.3 kB / 1.198 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/1.146, allocations: 154.2 kB / 1.198 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/1.15, allocations: 0.9596 MB / 1.199 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.15, allocations: 11.98 kB / 1.199 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.15, allocations: 0 / 1.199 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002661/1.152, allocations: 1.081 MB / 1.2 GB, free: 0.8984 MB / 0.7292 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.007869/1.16, allocations: 2.473 MB / 1.202 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.16, allocations: 0 / 1.202 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.161, allocations: 162 kB / 1.202 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/1.162, allocations: 91.91 kB / 1.202 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/1.162, allocations: 16.06 kB / 1.202 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/1.164, allocations: 1.755 MB / 1.204 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.164, allocations: 8.062 kB / 1.204 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/1.168, allocations: 1.459 MB / 1.206 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.169, allocations: 311.2 kB / 1.206 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000506/1.17, allocations: 24.12 kB / 1.206 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.172, allocations: 117.8 kB / 1.206 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.172, allocations: 52.48 kB / 1.206 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.172, allocations: 27.98 kB / 1.206 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002222/1.174, allocations: 0.828 MB / 1.207 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/1.174, allocations: 3.562 kB / 1.207 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004225/1.178, allocations: 0.8105 MB / 1.208 GB, free: 8.594 MB / 0.7448 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/1.18, allocations: 376.9 kB / 1.208 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005347/1.185, allocations: 1.479 MB / 1.209 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.363e-05/1.185, allocations: 0 / 1.209 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.187, allocations: 414.7 kB / 1.21 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009206/1.196, allocations: 0.7845 MB / 1.211 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/1.205, allocations: 3.332 MB / 1.214 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.207, allocations: 1.281 MB / 1.215 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/1.207, allocations: 110.7 kB / 1.215 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/1.207, allocations: 0 / 1.215 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of Templates: time 0.09717/1.305, allocations: 43.91 MB / 1.258 GB, free: 5.031 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)