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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 293 MB / 309 MB, free: 4.805 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.001644/0.001644, allocations: 168.6 kB / 378.7 MB, free: 1.02 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.505/1.505, allocations: 205.4 MB / 0.6383 GB, free: 8.152 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.000736/0.0007359, allocations: 100.9 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2538, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.661/5.914, allocations: 2.384 GB / 3.375 GB, free: 192.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/5.915, allocations: 108.5 kB / 3.375 GB, free: 192.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.372/11.29, allocations: 1.65 GB / 5.025 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.214e-06/11.29, allocations: 4 kB / 5.025 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004167/11.29, allocations: 71.91 kB / 5.025 GB, free: 0.9883 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.01255/11.3, allocations: 3.389 MB / 5.028 GB, free: 13.53 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/11.3, allocations: 8.031 kB / 5.028 GB, free: 13.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/11.31, allocations: 0.6725 MB / 5.029 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008215/11.31, allocations: 2.788 MB / 5.032 GB, free: 9.98 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/11.31, allocations: 144 kB / 5.032 GB, free: 9.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007359/11.31, allocations: 188.4 kB / 5.032 GB, free: 9.656 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/11.32, allocations: 2.225 MB / 5.034 GB, free: 7.375 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/11.32, allocations: 3.938 kB / 5.034 GB, free: 7.371 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/11.32, allocations: 84 kB / 5.034 GB, free: 7.289 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/11.32, allocations: 67.55 kB / 5.034 GB, free: 7.223 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/11.33, allocations: 1.911 MB / 5.036 GB, free: 5.309 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.5936/11.92, allocations: 9.103 MB / 5.045 GB, free: 105.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/11.92, allocations: 0.9893 MB / 5.046 GB, free: 105.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008744/11.92, allocations: 0.5854 MB / 5.047 GB, free: 105.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004433/11.93, allocations: 2.318 MB / 5.049 GB, free: 104.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/11.93, allocations: 47.16 kB / 5.049 GB, free: 104.5 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001452/11.93, allocations: 171.3 kB / 5.049 GB, free: 104.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 5.861e-06/11.93, allocations: 0 / 5.049 GB, free: 104.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=105): time 0.01225/11.94, allocations: 4.233 MB / 5.053 GB, free: 103.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/11.94, allocations: 63.81 kB / 5.053 GB, free: 103.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/11.94, allocations: 2.032 MB / 5.055 GB, free: 103.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/11.94, allocations: 49.42 kB / 5.055 GB, free: 103.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/11.94, allocations: 1.173 MB / 5.056 GB, free: 103.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/11.95, allocations: 371.9 kB / 5.057 GB, free: 102.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/11.95, allocations: 28.56 kB / 5.057 GB, free: 102.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001056/11.95, allocations: 360.8 kB / 5.057 GB, free: 102.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/11.95, allocations: 471.8 kB / 5.058 GB, free: 102.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/11.95, allocations: 1.061 MB / 5.059 GB, free: 101.9 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.01082/11.96, allocations: 3.411 MB / 5.062 GB, free: 101.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/11.96, allocations: 5.156 kB / 5.062 GB, free: 101.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004282/11.96, allocations: 1.791 MB / 5.064 GB, free: 101.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004161/11.96, allocations: 0.5094 MB / 5.064 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/11.96, allocations: 14.05 kB / 5.064 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/11.97, allocations: 353.9 kB / 5.065 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/11.97, allocations: 287.6 kB / 5.065 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/11.97, allocations: 1.009 MB / 5.066 GB, free: 99.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/11.97, allocations: 170.1 kB / 5.066 GB, free: 99.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/11.97, allocations: 78.59 kB / 5.066 GB, free: 99.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/11.97, allocations: 4.062 kB / 5.066 GB, free: 99.98 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002717/11.97, allocations: 1.555 MB / 5.068 GB, free: 99.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/11.97, allocations: 19.23 kB / 5.068 GB, free: 99.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/11.97, allocations: 343.5 kB / 5.068 GB, free: 99.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/11.98, allocations: 288.7 kB / 5.068 GB, free: 99.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009939/11.98, allocations: 1.01 MB / 5.069 GB, free: 99.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/11.98, allocations: 150.8 kB / 5.069 GB, free: 99.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/11.98, allocations: 74.03 kB / 5.069 GB, free: 99.4 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 {3 23} Notification: Performance of prepare postOptimizeDAE: time 0.001867/11.98, allocations: 0.6554 MB / 5.07 GB, free: 99.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005651/11.98, allocations: 235.1 kB / 5.07 GB, free: 99.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/11.99, allocations: 1.42 MB / 5.072 GB, free: 99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/11.99, allocations: 14.2 kB / 5.072 GB, free: 99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/11.99, allocations: 0 / 5.072 GB, free: 99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/11.99, allocations: 1.085 MB / 5.073 GB, free: 98.9 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.007335/11.99, allocations: 3.814 MB / 5.077 GB, free: 98.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/11.99, allocations: 7.125 kB / 5.077 GB, free: 98.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/12, allocations: 171.1 kB / 5.077 GB, free: 98.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/12, allocations: 322.9 kB / 5.077 GB, free: 98.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/12, allocations: 32 kB / 5.077 GB, free: 98.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/12, allocations: 0.968 MB / 5.078 GB, free: 97.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/12, allocations: 13.81 kB / 5.078 GB, free: 97.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/12, allocations: 2.154 MB / 5.08 GB, free: 97.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/12, allocations: 435.2 kB / 5.081 GB, free: 96.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007256/12, allocations: 34.22 kB / 5.081 GB, free: 96.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/12, allocations: 103 kB / 5.081 GB, free: 96.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/12, allocations: 78.39 kB / 5.081 GB, free: 96.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/12, allocations: 45.77 kB / 5.081 GB, free: 96.94 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002459/12.01, allocations: 1.363 MB / 5.082 GB, free: 96.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.01e-07/12.01, allocations: 0 / 5.082 GB, free: 96.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005455/12.01, allocations: 1.399 MB / 5.083 GB, free: 96.8 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 {3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.005698/12.02, allocations: 3.753 MB / 5.087 GB, free: 95.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004279/12.02, allocations: 1.992 MB / 5.089 GB, free: 95.31 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/12.02, allocations: 3.031 kB / 5.089 GB, free: 95.31 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009678/12.02, allocations: 0.5437 MB / 5.09 GB, free: 95.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009295/12.03, allocations: 1.323 MB / 5.091 GB, free: 95.28 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/12.04, allocations: 4.98 MB / 5.096 GB, free: 93.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/12.05, allocations: 1.68 MB / 5.097 GB, free: 92.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004203/12.05, allocations: 0.5756 MB / 5.098 GB, free: 92.28 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008119/12.05, allocations: 168.6 kB / 5.098 GB, free: 92.27 MB / 1.01 GB Notification: Performance of SimCode: time 1.974e-06/12.05, allocations: 0 / 5.098 GB, free: 92.27 MB / 1.01 GB Notification: Performance of Templates: time 0.1241/12.18, allocations: 82.5 MB / 5.179 GB, free: 89.12 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)