Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 285.4 MB / 298 MB, free: 5.992 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.001066/0.001066, allocations: 180.8 kB / 366.4 MB, free: 2.113 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.616/1.616, allocations: 205.1 MB / 0.6248 GB, free: 7.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008826/0.0008827, allocations: 89.25 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.31e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7933, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.207/7.001, allocations: 2.342 GB / 3.313 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/7.001, allocations: 98.84 kB / 3.313 GB, free: 159.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.462/11.46, allocations: 1.112 GB / 4.425 GB, free: 109.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.905e-06/11.46, allocations: 0 / 4.425 GB, free: 109.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003205/11.46, allocations: 57.53 kB / 4.425 GB, free: 109.5 MB / 0.948 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.007443/11.47, allocations: 2.096 MB / 4.427 GB, free: 108 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/11.47, allocations: 11.38 kB / 4.427 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/11.47, allocations: 374 kB / 4.428 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005323/11.48, allocations: 1.637 MB / 4.429 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/11.48, allocations: 107.7 kB / 4.43 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/11.48, allocations: 141.8 kB / 4.43 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/11.48, allocations: 1.413 MB / 4.431 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/11.48, allocations: 0 / 4.431 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/11.48, allocations: 53.28 kB / 4.431 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-05/11.48, allocations: 62.09 kB / 4.431 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/11.49, allocations: 1.04 MB / 4.432 GB, free: 104.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0104/11.5, allocations: 7.143 MB / 4.439 GB, free: 97.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/11.5, allocations: 0.8384 MB / 4.44 GB, free: 96.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/11.5, allocations: 405 kB / 4.44 GB, free: 95.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/11.5, allocations: 0.7164 MB / 4.441 GB, free: 94.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/11.5, allocations: 39.34 kB / 4.441 GB, free: 94.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 1.943e-06/11.5, allocations: 0 / 4.441 GB, free: 94.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.003056/11.5, allocations: 1.129 MB / 4.442 GB, free: 93.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/11.5, allocations: 67.47 kB / 4.442 GB, free: 93.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/11.51, allocations: 1.125 MB / 4.443 GB, free: 92.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/11.51, allocations: 41.7 kB / 4.443 GB, free: 92.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/11.51, allocations: 0.8021 MB / 4.444 GB, free: 91.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/11.51, allocations: 256.2 kB / 4.444 GB, free: 91.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/11.51, allocations: 16 kB / 4.444 GB, free: 91.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/11.51, allocations: 341.9 kB / 4.445 GB, free: 91.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/11.51, allocations: 277.9 kB / 4.445 GB, free: 90.76 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/11.51, allocations: 0.5564 MB / 4.446 GB, free: 90.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/11.51, allocations: 376 kB / 4.446 GB, free: 89.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/11.51, allocations: 8 kB / 4.446 GB, free: 89.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002669/11.51, allocations: 1.23 MB / 4.447 GB, free: 88.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004147/11.51, allocations: 1.802 MB / 4.449 GB, free: 86.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/11.51, allocations: 8 kB / 4.449 GB, free: 86.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/11.51, allocations: 390.8 kB / 4.449 GB, free: 86.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/11.51, allocations: 143.8 kB / 4.449 GB, free: 85.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/11.51, allocations: 2.076 MB / 4.451 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/11.52, allocations: 187 kB / 4.452 GB, free: 83.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/11.52, allocations: 36 kB / 4.452 GB, free: 83.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/11.52, allocations: 4 kB / 4.452 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002273/11.52, allocations: 1.055 MB / 4.453 GB, free: 82.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/11.52, allocations: 4 kB / 4.453 GB, free: 82.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/11.52, allocations: 388.7 kB / 4.453 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/11.52, allocations: 147.8 kB / 4.453 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/11.52, allocations: 3.866 MB / 4.457 GB, free: 77.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/11.53, allocations: 171.1 kB / 4.457 GB, free: 77.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/11.53, allocations: 39.98 kB / 4.457 GB, free: 77.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * 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 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003794/11.53, allocations: 164.1 kB / 4.457 GB, free: 77.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/11.53, allocations: 161.5 kB / 4.457 GB, free: 77.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/11.53, allocations: 1.22 MB / 4.459 GB, free: 76.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/11.53, allocations: 8 kB / 4.459 GB, free: 76.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/11.53, allocations: 0 / 4.459 GB, free: 76.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/11.53, allocations: 1.313 MB / 4.46 GB, free: 74.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0063/11.54, allocations: 2.672 MB / 4.463 GB, free: 71.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/11.54, allocations: 4 kB / 4.463 GB, free: 71.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/11.54, allocations: 99.89 kB / 4.463 GB, free: 71.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/11.54, allocations: 388.3 kB / 4.463 GB, free: 71.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/11.54, allocations: 19.98 kB / 4.463 GB, free: 71.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/11.55, allocations: 2.068 MB / 4.465 GB, free: 69.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/11.55, allocations: 4 kB / 4.465 GB, free: 69.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/11.55, allocations: 1.33 MB / 4.466 GB, free: 67.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/11.55, allocations: 342.8 kB / 4.467 GB, free: 67.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006038/11.55, allocations: 20 kB / 4.467 GB, free: 67.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/11.55, allocations: 127.7 kB / 4.467 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/11.55, allocations: 52.45 kB / 4.467 GB, free: 67.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/11.55, allocations: 31.98 kB / 4.467 GB, free: 67.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00236/11.56, allocations: 0.8689 MB / 4.468 GB, free: 66.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/11.56, allocations: 4 kB / 4.468 GB, free: 66.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006023/11.56, allocations: 1.095 MB / 4.469 GB, free: 65.21 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005/11.57, allocations: 2.316 MB / 4.471 GB, free: 62.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004147/11.57, allocations: 1.555 MB / 4.473 GB, free: 61.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/11.57, allocations: 0 / 4.473 GB, free: 61.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/11.57, allocations: 458.6 kB / 4.473 GB, free: 60.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/11.58, allocations: 0.7973 MB / 4.474 GB, free: 60.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/11.58, allocations: 1.982 MB / 4.476 GB, free: 58.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/11.59, allocations: 1.386 MB / 4.477 GB, free: 56.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0037/11.59, allocations: 450.6 kB / 4.478 GB, free: 56.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/11.59, allocations: 67.44 kB / 4.478 GB, free: 56.11 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/11.59, allocations: 0 / 4.478 GB, free: 56.11 MB / 0.948 GB Notification: Performance of Templates: time 0.08834/11.68, allocations: 62.5 MB / 4.539 GB, free: 10.07 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)