Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001427/0.001427, allocations: 173.1 kB / 377.1 MB, free: 1.5 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.641/1.641, allocations: 205.4 MB / 0.6367 GB, free: 9.543 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.0008678/0.0008678, allocations: 93.64 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 8 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2744, allocations: 116.3 MB / 0.9884 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.172/6.446, allocations: 2.384 GB / 3.372 GB, free: 196.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/6.447, allocations: 113.3 kB / 3.373 GB, free: 196.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.765/12.21, allocations: 1.669 GB / 5.042 GB, free: 2.434 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.374e-06/12.21, allocations: 0 / 5.042 GB, free: 2.434 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000363/12.21, allocations: 71.92 kB / 5.042 GB, free: 2.363 MB / 1.01 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.6474/12.86, allocations: 3.413 MB / 5.045 GB, free: 107.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/12.86, allocations: 7.938 kB / 5.045 GB, free: 107.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/12.87, allocations: 0.6738 MB / 5.046 GB, free: 107.4 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007782/12.87, allocations: 2.778 MB / 5.048 GB, free: 107 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/12.87, allocations: 146.7 kB / 5.048 GB, free: 107 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/12.87, allocations: 195.9 kB / 5.049 GB, free: 107 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/12.88, allocations: 2.198 MB / 5.051 GB, free: 106.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/12.88, allocations: 5.656 kB / 5.051 GB, free: 106.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/12.88, allocations: 75.72 kB / 5.051 GB, free: 106.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-05/12.88, allocations: 77.97 kB / 5.051 GB, free: 106.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/12.88, allocations: 1.903 MB / 5.053 GB, free: 106.8 MB / 1.01 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.01532/12.9, allocations: 9.094 MB / 5.062 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/12.9, allocations: 0.9823 MB / 5.063 GB, free: 102.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004977/12.9, allocations: 2.311 MB / 5.065 GB, free: 101.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/12.9, allocations: 46.81 kB / 5.065 GB, free: 101.8 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001513/12.91, allocations: 182.9 kB / 5.065 GB, free: 101.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=101): time 4.589e-06/12.91, allocations: 0 / 5.065 GB, free: 101.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.01182/12.92, allocations: 3.92 MB / 5.069 GB, free: 100.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/12.92, allocations: 65.56 kB / 5.069 GB, free: 100.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/12.92, allocations: 1.788 MB / 5.071 GB, free: 100.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/12.92, allocations: 53.02 kB / 5.071 GB, free: 100.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/12.92, allocations: 1.185 MB / 5.072 GB, free: 100.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/12.92, allocations: 363 kB / 5.072 GB, free: 100.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/12.92, allocations: 29.41 kB / 5.072 GB, free: 100.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/12.92, allocations: 361.8 kB / 5.073 GB, free: 99.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/12.92, allocations: 468.8 kB / 5.073 GB, free: 99.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009715/12.92, allocations: 1.046 MB / 5.074 GB, free: 99.15 MB / 1.01 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.009016/12.93, allocations: 2.158 MB / 5.076 GB, free: 99.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/12.93, allocations: 5.938 kB / 5.076 GB, free: 99.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003672/12.94, allocations: 1.77 MB / 5.078 GB, free: 98.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001427/12.94, allocations: 5.966 MB / 5.084 GB, free: 92.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/12.94, allocations: 11.81 kB / 5.084 GB, free: 92.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/12.94, allocations: 335.1 kB / 5.084 GB, free: 92.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/12.94, allocations: 288.2 kB / 5.084 GB, free: 92.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009784/12.94, allocations: 0.9791 MB / 5.085 GB, free: 91.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/12.94, allocations: 172.4 kB / 5.086 GB, free: 91.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/12.94, allocations: 73.12 kB / 5.086 GB, free: 91.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/12.94, allocations: 3.594 kB / 5.086 GB, free: 91.97 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002604/12.95, allocations: 1.541 MB / 5.087 GB, free: 91.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/12.95, allocations: 12.28 kB / 5.087 GB, free: 91.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/12.95, allocations: 332.1 kB / 5.087 GB, free: 91.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/12.95, allocations: 284.6 kB / 5.088 GB, free: 91.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008226/12.95, allocations: 0.9775 MB / 5.089 GB, free: 91.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/12.95, allocations: 148.1 kB / 5.089 GB, free: 91.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/12.95, allocations: 77.02 kB / 5.089 GB, free: 91.39 MB / 1.01 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.001814/12.96, allocations: 0.6535 MB / 5.09 GB, free: 91.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006308/12.96, allocations: 233.8 kB / 5.09 GB, free: 91.08 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/12.96, allocations: 1.4 MB / 5.091 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/12.96, allocations: 8.531 kB / 5.091 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/12.96, allocations: 3.5 kB / 5.091 GB, free: 90.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/12.96, allocations: 1.063 MB / 5.092 GB, free: 90.89 MB / 1.01 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.007597/12.97, allocations: 3.784 MB / 5.096 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/12.97, allocations: 6.281 kB / 5.096 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008147/12.97, allocations: 175.8 kB / 5.096 GB, free: 90.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/12.97, allocations: 309.5 kB / 5.096 GB, free: 90.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-05/12.97, allocations: 32.97 kB / 5.096 GB, free: 90.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007844/12.97, allocations: 0.9313 MB / 5.097 GB, free: 89.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/12.97, allocations: 12.7 kB / 5.097 GB, free: 89.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/12.97, allocations: 2.564 MB / 5.1 GB, free: 88.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/12.98, allocations: 443.9 kB / 5.1 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/12.98, allocations: 24.28 kB / 5.1 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/12.98, allocations: 96.47 kB / 5.1 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/12.98, allocations: 79.02 kB / 5.1 GB, free: 88.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/12.98, allocations: 44.84 kB / 5.1 GB, free: 88.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002107/12.98, allocations: 1.38 MB / 5.102 GB, free: 88.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/12.98, allocations: 0 / 5.102 GB, free: 88.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005189/12.98, allocations: 1.405 MB / 5.103 GB, free: 88.23 MB / 1.01 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.005528/12.99, allocations: 3.733 MB / 5.107 GB, free: 86.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004092/12.99, allocations: 2.003 MB / 5.109 GB, free: 86.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/12.99, allocations: 3 kB / 5.109 GB, free: 86.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/13, allocations: 0.5504 MB / 5.109 GB, free: 86.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006359/13, allocations: 1.312 MB / 5.111 GB, free: 86.74 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/13.01, allocations: 5.617 MB / 5.116 GB, free: 84.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/13.01, allocations: 1.729 MB / 5.118 GB, free: 83.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003296/13.02, allocations: 0.567 MB / 5.118 GB, free: 83.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/13.02, allocations: 165.1 kB / 5.119 GB, free: 83.73 MB / 1.01 GB Notification: Performance of SimCode: time 2.174e-06/13.02, allocations: 1.281 kB / 5.119 GB, free: 83.73 MB / 1.01 GB Notification: Performance of Templates: time 0.1318/13.15, allocations: 80.56 MB / 5.197 GB, free: 80.68 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)