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.418/1.418, allocations: 252 MB / 267.6 MB, free: 10.91 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.001421/0.001421, allocations: 174.4 kB / 327.3 MB, free: 2.176 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.969/1.969, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008323/0.0008324, allocations: 86.36 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 11.78 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2345, allocations: 106.3 MB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.7208/0.9554, allocations: 227.1 MB / 1.123 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.9722, allocations: 11.22 MB / 1.134 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/0.977, allocations: 60.5 kB / 1.134 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.9799, allocations: 0.7034 MB / 1.134 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008889/0.9888, allocations: 2.399 MB / 1.137 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004732/0.9936, allocations: 1.167 MB / 1.138 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.004, allocations: 5.441 MB / 1.143 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/1.007, allocations: 1.123 MB / 1.144 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005605/1.013, allocations: 1.687 MB / 1.146 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/1.016, allocations: 1.238 MB / 1.147 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006962/1.017, allocations: 61.22 kB / 1.147 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/1.023, allocations: 1.315 MB / 1.148 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/1.024, allocations: 436.1 kB / 1.149 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/1.025, allocations: 395.3 kB / 1.149 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/1.03, allocations: 2.319 MB / 1.151 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.03, allocations: 6.969 kB / 1.151 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.767e-06/1.03, allocations: 0 / 1.151 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001172/1.03, allocations: 0 / 1.151 GB, free: 17.38 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.004826/1.035, allocations: 1.938 MB / 1.153 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.035, allocations: 8.406 kB / 1.153 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/1.037, allocations: 351.2 kB / 1.154 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/1.039, allocations: 1.303 MB / 1.155 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/1.04, allocations: 83.08 kB / 1.155 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.04, allocations: 120.8 kB / 1.155 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.042, allocations: 1.217 MB / 1.156 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.042, allocations: 3.094 kB / 1.156 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.042, allocations: 50.33 kB / 1.156 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/1.042, allocations: 42.22 kB / 1.156 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.044, allocations: 0.971 MB / 1.157 GB, free: 14.82 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.007141/1.051, allocations: 5.551 MB / 1.163 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.052, allocations: 0.8676 MB / 1.164 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/1.053, allocations: 410.9 kB / 1.164 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/1.053, allocations: 0.6031 MB / 1.165 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.054, allocations: 49.78 kB / 1.165 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/1.054, allocations: 0 / 1.165 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.003755/1.057, allocations: 1.459 MB / 1.166 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.057, allocations: 60.94 kB / 1.166 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.059, allocations: 1.184 MB / 1.167 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.059, allocations: 48.86 kB / 1.167 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/1.06, allocations: 0.6794 MB / 1.168 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.06, allocations: 251.6 kB / 1.168 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/1.06, allocations: 14.78 kB / 1.168 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.06, allocations: 334.9 kB / 1.169 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/1.061, allocations: 303.9 kB / 1.169 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/1.061, allocations: 0.5273 MB / 1.169 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/1.062, allocations: 377.4 kB / 1.17 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.062, allocations: 1.938 kB / 1.17 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002278/1.064, allocations: 1.067 MB / 1.171 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.064, allocations: 172.7 kB / 1.171 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.064, allocations: 7.25 kB / 1.171 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007762/1.065, allocations: 142 kB / 1.171 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/1.066, allocations: 178.4 kB / 1.171 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/1.067, allocations: 1.769 MB / 1.173 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.069, allocations: 173.9 kB / 1.173 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/1.069, allocations: 29.41 kB / 1.173 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.069, allocations: 5.875 kB / 1.173 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/1.071, allocations: 0.852 MB / 1.174 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.071, allocations: 6.891 kB / 1.174 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/1.071, allocations: 94.78 kB / 1.174 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/1.072, allocations: 161.5 kB / 1.174 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/1.075, allocations: 3.14 MB / 1.177 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.076, allocations: 169.7 kB / 1.178 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/1.076, allocations: 30.19 kB / 1.178 GB, free: 2.52 MB / 0.7136 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 (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.0008572/1.077, allocations: 442.5 kB / 1.178 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/1.077, allocations: 141.2 kB / 1.178 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/1.079, allocations: 0.959 MB / 1.179 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.079, allocations: 10.55 kB / 1.179 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.079, allocations: 3.375 kB / 1.179 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/1.081, allocations: 1.059 MB / 1.18 GB, free: 1.406 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 postOpt removeSimpleEquations (simulation): time 0.004115/1.085, allocations: 2.47 MB / 1.183 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.085, allocations: 3.312 kB / 1.183 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.086, allocations: 161.5 kB / 1.183 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/1.086, allocations: 95.59 kB / 1.183 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/1.086, allocations: 20.61 kB / 1.183 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/1.087, allocations: 1.748 MB / 1.184 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/1.087, allocations: 3.5 kB / 1.184 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.089, allocations: 1.459 MB / 1.186 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/1.09, allocations: 328.3 kB / 1.186 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.09, allocations: 20.81 kB / 1.186 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.091, allocations: 124 kB / 1.186 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.092, allocations: 50.73 kB / 1.186 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/1.092, allocations: 29.92 kB / 1.186 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001374/1.093, allocations: 0.8066 MB / 1.187 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.093, allocations: 0 / 1.187 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002544/1.096, allocations: 0.8156 MB / 1.188 GB, free: 12.28 MB / 0.7292 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.0008765/1.096, allocations: 376.8 kB / 1.188 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003013/1.099, allocations: 1.46 MB / 1.19 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.099, allocations: 0 / 1.19 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008135/1.1, allocations: 408.6 kB / 1.19 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.104, allocations: 0.7987 MB / 1.191 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/1.109, allocations: 3.323 MB / 1.194 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.111, allocations: 1.281 MB / 1.195 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/1.111, allocations: 101.6 kB / 1.196 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of SimCode: time 1.342e-06/1.111, allocations: 0 / 1.196 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of Templates: time 0.05875/1.17, allocations: 43.92 MB / 1.238 GB, free: 9.902 MB / 0.7761 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)