Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.001507/0.001507, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.439/1.439, allocations: 205.4 MB / 0.6317 GB, free: 9.902 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.0008665/0.0008665, allocations: 100.5 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 13.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.934/6.127, allocations: 2.383 GB / 3.364 GB, free: 307.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/6.127, allocations: 107.8 kB / 3.364 GB, free: 307.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.337/11.46, allocations: 1.65 GB / 5.014 GB, free: 109 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.194e-06/11.46, allocations: 0 / 5.014 GB, free: 109 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002682/11.46, allocations: 69.08 kB / 5.014 GB, free: 109 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01221/11.48, allocations: 3.394 MB / 5.018 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/11.48, allocations: 10.44 kB / 5.018 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/11.48, allocations: 0.6713 MB / 5.018 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/11.49, allocations: 2.778 MB / 5.021 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/11.49, allocations: 142.6 kB / 5.021 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/11.49, allocations: 207.3 kB / 5.021 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/11.49, allocations: 2.222 MB / 5.023 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/11.49, allocations: 3.938 kB / 5.023 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/11.49, allocations: 74.91 kB / 5.024 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/11.49, allocations: 74.25 kB / 5.024 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/11.5, allocations: 1.91 MB / 5.025 GB, free: 101.7 MB / 0.9948 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.01182/11.51, allocations: 9.105 MB / 5.034 GB, free: 93.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/11.51, allocations: 0.9892 MB / 5.035 GB, free: 92.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/11.51, allocations: 0.5857 MB / 5.036 GB, free: 92.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003589/11.51, allocations: 2.316 MB / 5.038 GB, free: 89.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/11.51, allocations: 54.67 kB / 5.038 GB, free: 89.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/11.51, allocations: 170.8 kB / 5.038 GB, free: 89.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 3.427e-06/11.51, allocations: 0 / 5.038 GB, free: 89.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.01227/11.53, allocations: 4.233 MB / 5.043 GB, free: 85.31 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/11.53, allocations: 64.41 kB / 5.043 GB, free: 85.24 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/11.53, allocations: 2.035 MB / 5.045 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/11.53, allocations: 49.7 kB / 5.045 GB, free: 83.13 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009584/11.53, allocations: 1.172 MB / 5.046 GB, free: 81.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/11.53, allocations: 370.6 kB / 5.046 GB, free: 81.57 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/11.53, allocations: 28 kB / 5.046 GB, free: 81.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/11.53, allocations: 365.8 kB / 5.046 GB, free: 81.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008413/11.53, allocations: 471.8 kB / 5.047 GB, free: 80.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/11.53, allocations: 1.058 MB / 5.048 GB, free: 79.4 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/11.55, allocations: 3.403 MB / 5.051 GB, free: 75.78 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/11.55, allocations: 4 kB / 5.051 GB, free: 75.78 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003888/11.55, allocations: 1.8 MB / 5.053 GB, free: 73.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/11.55, allocations: 0.5131 MB / 5.054 GB, free: 73.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/11.55, allocations: 16 kB / 5.054 GB, free: 73.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/11.55, allocations: 348.5 kB / 5.054 GB, free: 72.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/11.55, allocations: 283.5 kB / 5.054 GB, free: 72.62 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009883/11.55, allocations: 1.021 MB / 5.055 GB, free: 71.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/11.56, allocations: 167.5 kB / 5.055 GB, free: 71.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/11.56, allocations: 79.97 kB / 5.055 GB, free: 71.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/11.56, allocations: 4 kB / 5.055 GB, free: 71.33 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002481/11.56, allocations: 1.555 MB / 5.057 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/11.56, allocations: 16 kB / 5.057 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/11.56, allocations: 344.7 kB / 5.057 GB, free: 69.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/11.56, allocations: 287.5 kB / 5.058 GB, free: 69.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/11.56, allocations: 0.9972 MB / 5.059 GB, free: 68.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/11.56, allocations: 151.5 kB / 5.059 GB, free: 67.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/11.57, allocations: 79.97 kB / 5.059 GB, free: 67.88 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (153): * Single equations (assignments): 151 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 23} Notification: Performance of prepare postOptimizeDAE: time 0.001592/11.57, allocations: 0.657 MB / 5.059 GB, free: 67.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/11.57, allocations: 229.2 kB / 5.06 GB, free: 66.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/11.57, allocations: 1.432 MB / 5.061 GB, free: 65.54 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/11.57, allocations: 12 kB / 5.061 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/11.57, allocations: 0 / 5.061 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001529/11.57, allocations: 1.077 MB / 5.062 GB, free: 64.44 MB / 0.9948 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.007488/11.58, allocations: 3.813 MB / 5.066 GB, free: 60.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/11.58, allocations: 4 kB / 5.066 GB, free: 60.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008721/11.58, allocations: 175.8 kB / 5.066 GB, free: 60.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/11.58, allocations: 321 kB / 5.066 GB, free: 59.97 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/11.58, allocations: 35.98 kB / 5.066 GB, free: 59.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008423/11.58, allocations: 0.9698 MB / 5.067 GB, free: 58.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/11.58, allocations: 7.938 kB / 5.067 GB, free: 58.93 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/11.59, allocations: 2.154 MB / 5.069 GB, free: 56.69 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/11.59, allocations: 430 kB / 5.07 GB, free: 56.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000696/11.59, allocations: 35.92 kB / 5.07 GB, free: 56.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/11.59, allocations: 99.83 kB / 5.07 GB, free: 56.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/11.59, allocations: 76.8 kB / 5.07 GB, free: 56.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/11.59, allocations: 47.97 kB / 5.07 GB, free: 55.99 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002921/11.59, allocations: 1.361 MB / 5.071 GB, free: 54.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.91e-07/11.59, allocations: 0 / 5.071 GB, free: 54.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006625/11.6, allocations: 1.402 MB / 5.073 GB, free: 53.22 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.005977/11.61, allocations: 3.746 MB / 5.076 GB, free: 49.26 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004681/11.61, allocations: 1.987 MB / 5.078 GB, free: 47.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/11.61, allocations: 4 kB / 5.078 GB, free: 47.28 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/11.61, allocations: 0.5478 MB / 5.079 GB, free: 46.73 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/11.62, allocations: 1.324 MB / 5.08 GB, free: 45.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/11.63, allocations: 4.991 MB / 5.085 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/11.63, allocations: 1.679 MB / 5.087 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003523/11.64, allocations: 0.5746 MB / 5.087 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/11.64, allocations: 171.4 kB / 5.087 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of SimCode: time 9.41e-07/11.64, allocations: 0 / 5.087 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.6782/12.32, allocations: 82.52 MB / 5.168 GB, free: 133.7 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)