Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.671/1.671, allocations: 287.5 MB / 302.6 MB, free: 8.215 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.000989/0.0009892, allocations: 183 kB / 371.2 MB, free: 10.73 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.55/1.55, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007737/0.0007739, allocations: 82.38 kB / 0.7432 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 11.19 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7237/0.9383, allocations: 231.9 MB / 1.205 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.9608, allocations: 16.8 MB / 1.222 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.9639, allocations: 69.97 kB / 1.222 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.9673, allocations: 0.7255 MB / 1.222 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.9767, allocations: 2.821 MB / 1.225 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.9813, allocations: 1.353 MB / 1.226 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008388/0.9897, allocations: 5.816 MB / 1.232 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.9928, allocations: 1.486 MB / 1.234 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.9977, allocations: 1.762 MB / 1.235 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/1.001, allocations: 1.396 MB / 1.237 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004592/1.001, allocations: 68 kB / 1.237 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.006, allocations: 1.547 MB / 1.238 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0008962/1.007, allocations: 466.2 kB / 1.239 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/1.008, allocations: 428.7 kB / 1.239 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005448/1.014, allocations: 2.599 MB / 1.242 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.014, allocations: 0 / 1.242 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.354e-06/1.014, allocations: 0 / 1.242 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001458/1.014, allocations: 0 / 1.242 GB, free: 14.47 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005897/1.02, allocations: 2.105 MB / 1.244 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.02, allocations: 8.031 kB / 1.244 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.022, allocations: 377.1 kB / 1.244 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/1.025, allocations: 1.402 MB / 1.245 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/1.025, allocations: 102.7 kB / 1.246 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/1.025, allocations: 143.9 kB / 1.246 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/1.028, allocations: 1.511 MB / 1.247 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/1.028, allocations: 0 / 1.247 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.028, allocations: 56 kB / 1.247 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/1.028, allocations: 50.64 kB / 1.247 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/1.03, allocations: 1.162 MB / 1.248 GB, free: 7.379 MB / 0.7761 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.008472/1.038, allocations: 7.197 MB / 1.255 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/1.04, allocations: 0.8288 MB / 1.256 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/1.041, allocations: 449.7 kB / 1.257 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/1.041, allocations: 0.724 MB / 1.257 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.041, allocations: 55.14 kB / 1.257 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 3.046e-06/1.041, allocations: 0 / 1.257 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.006423/1.048, allocations: 2.134 MB / 1.259 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.048, allocations: 60.06 kB / 1.26 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.05, allocations: 1.293 MB / 1.261 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/1.05, allocations: 41.7 kB / 1.261 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/1.051, allocations: 0.7977 MB / 1.262 GB, free: 8.949 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/1.051, allocations: 260.3 kB / 1.262 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/1.051, allocations: 12 kB / 1.262 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.051, allocations: 341.9 kB / 1.262 GB, free: 8.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/1.052, allocations: 329.8 kB / 1.262 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/1.052, allocations: 0.5632 MB / 1.263 GB, free: 7.363 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/1.054, allocations: 0.8791 MB / 1.264 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.054, allocations: 0 / 1.264 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00254/1.056, allocations: 1.267 MB / 1.265 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.056, allocations: 232.7 kB / 1.265 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.057, allocations: 7.984 kB / 1.265 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/1.058, allocations: 422 kB / 1.266 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/1.059, allocations: 167.7 kB / 1.266 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/1.061, allocations: 2.052 MB / 1.268 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.062, allocations: 188 kB / 1.268 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.062, allocations: 40 kB / 1.268 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.062, allocations: 7.922 kB / 1.268 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001878/1.064, allocations: 1.064 MB / 1.269 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.064, allocations: 4 kB / 1.269 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.066, allocations: 366.5 kB / 1.27 GB, free: 452 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/1.066, allocations: 163.7 kB / 1.27 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/1.07, allocations: 3.854 MB / 1.273 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.071, allocations: 179 kB / 1.274 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/1.072, allocations: 36 kB / 1.274 GB, free: 11.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008498/1.072, allocations: 468.8 kB / 1.274 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/1.073, allocations: 158.1 kB / 1.274 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/1.075, allocations: 1.208 MB / 1.275 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.076, allocations: 8 kB / 1.275 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.076, allocations: 7.938 kB / 1.275 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/1.078, allocations: 1.298 MB / 1.277 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/1.083, allocations: 2.77 MB / 1.279 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.083, allocations: 4 kB / 1.279 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/1.083, allocations: 103.8 kB / 1.28 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/1.085, allocations: 366.3 kB / 1.28 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.085, allocations: 16 kB / 1.28 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.086, allocations: 2.035 MB / 1.282 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.086, allocations: 8.125 kB / 1.282 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/1.088, allocations: 1.221 MB / 1.283 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/1.089, allocations: 342.9 kB / 1.283 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.09, allocations: 12 kB / 1.283 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.091, allocations: 123.8 kB / 1.284 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.091, allocations: 52.44 kB / 1.284 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/1.091, allocations: 27.98 kB / 1.284 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001432/1.092, allocations: 0.8738 MB / 1.284 GB, free: 496 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/1.092, allocations: 3.938 kB / 1.284 GB, free: 492 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003114/1.096, allocations: 0.9115 MB / 1.285 GB, free: 15.56 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008465/1.096, allocations: 369.3 kB / 1.286 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003586/1.1, allocations: 1.653 MB / 1.287 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.1, allocations: 0 / 1.287 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.101, allocations: 482.6 kB / 1.288 GB, free: 13.05 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.106, allocations: 0.7744 MB / 1.289 GB, free: 12.28 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/1.112, allocations: 3.246 MB / 1.292 GB, free: 8.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/1.113, allocations: 1.348 MB / 1.293 GB, free: 7.602 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001496/1.114, allocations: 320.6 kB / 1.293 GB, free: 7.289 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/1.114, allocations: 103.4 kB / 1.293 GB, free: 7.188 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/1.114, allocations: 0 / 1.293 GB, free: 7.188 MB / 0.823 GB Notification: Performance of Templates: time 0.05155/1.166, allocations: 30.23 MB / 1.323 GB, free: 9.234 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)