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.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001245/0.001245, allocations: 184.9 kB / 361.4 MB, free: 6.805 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.635/1.635, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008703/0.00087, allocations: 88.16 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.768e-05, allocations: 8 kB / 0.8518 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7407, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/6.476, allocations: 2.382 GB / 3.347 GB, free: 92.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/6.477, allocations: 106.9 kB / 3.347 GB, free: 92.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.367/12.84, allocations: 1.65 GB / 4.997 GB, free: 108.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.863e-06/12.84, allocations: 0 / 4.997 GB, free: 108.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004955/12.84, allocations: 63.86 kB / 4.997 GB, free: 108.8 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.01292/12.86, allocations: 2.851 MB / 5 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/12.86, allocations: 7.594 kB / 5 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/12.86, allocations: 0.666 MB / 5.001 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/12.87, allocations: 2.769 MB / 5.003 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/12.87, allocations: 61.84 kB / 5.004 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007767/12.87, allocations: 118 kB / 5.004 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004385/12.88, allocations: 1.671 MB / 5.005 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/12.88, allocations: 1.9 MB / 5.007 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.522e-05/12.88, allocations: 1.312 kB / 5.007 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/12.88, allocations: 3.531 kB / 5.007 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/12.88, allocations: 71.36 kB / 5.007 GB, free: 107 MB / 0.9948 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.01264/12.9, allocations: 9.035 MB / 5.016 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/12.9, allocations: 0.9571 MB / 5.017 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/12.9, allocations: 0.5709 MB / 5.018 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003492/12.9, allocations: 2.292 MB / 5.02 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/12.9, allocations: 46.34 kB / 5.02 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001249/12.9, allocations: 200.6 kB / 5.02 GB, free: 102 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 2.816e-06/12.9, allocations: 0 / 5.02 GB, free: 102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.006381/12.91, allocations: 3.031 MB / 5.023 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/12.91, allocations: 65.22 kB / 5.023 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/12.91, allocations: 1.431 MB / 5.024 GB, free: 101 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/12.91, allocations: 28.73 kB / 5.024 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007186/12.91, allocations: 1.175 MB / 5.026 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/12.91, allocations: 351.9 kB / 5.026 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/12.91, allocations: 1.969 kB / 5.026 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/12.91, allocations: 364.5 kB / 5.026 GB, free: 99.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/12.91, allocations: 465.4 kB / 5.027 GB, free: 99.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/12.91, allocations: 1.03 MB / 5.028 GB, free: 99.26 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.01902/12.93, allocations: 3.218 MB / 5.031 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/12.93, allocations: 2.844 kB / 5.031 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005683/12.94, allocations: 1.814 MB / 5.033 GB, free: 98.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001383/12.94, allocations: 5.882 MB / 5.038 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/12.94, allocations: 14.09 kB / 5.038 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/12.94, allocations: 365.8 kB / 5.039 GB, free: 92.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/12.94, allocations: 294 kB / 5.039 GB, free: 92.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/12.94, allocations: 1.027 MB / 5.04 GB, free: 92.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/12.95, allocations: 131.5 kB / 5.04 GB, free: 92.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/12.95, allocations: 76.8 kB / 5.04 GB, free: 92.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/12.95, allocations: 4.5 kB / 5.04 GB, free: 92.33 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/12.95, allocations: 1.549 MB / 5.042 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/12.95, allocations: 14.16 kB / 5.042 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/12.95, allocations: 364.4 kB / 5.042 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/12.95, allocations: 293.1 kB / 5.042 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/12.95, allocations: 1.032 MB / 5.043 GB, free: 91.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/12.96, allocations: 112.2 kB / 5.044 GB, free: 91.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/12.96, allocations: 78.53 kB / 5.044 GB, free: 91.73 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 () * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004661/12.96, allocations: 153.6 kB / 5.044 GB, free: 91.62 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/12.96, allocations: 211.5 kB / 5.044 GB, free: 91.51 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/12.96, allocations: 1.473 MB / 5.045 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/12.96, allocations: 11.59 kB / 5.045 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/12.96, allocations: 2.438 kB / 5.045 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002267/12.96, allocations: 1.147 MB / 5.047 GB, free: 91.29 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.005914/12.97, allocations: 3.495 MB / 5.05 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/12.97, allocations: 5.594 kB / 5.05 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/12.97, allocations: 176.5 kB / 5.05 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/12.97, allocations: 311.6 kB / 5.05 GB, free: 90.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/12.97, allocations: 18.47 kB / 5.05 GB, free: 90.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008122/12.97, allocations: 0.967 MB / 5.051 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/12.97, allocations: 12.56 kB / 5.051 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/12.97, allocations: 2.452 MB / 5.054 GB, free: 89.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009179/12.97, allocations: 416.4 kB / 5.054 GB, free: 88.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/12.98, allocations: 13.92 kB / 5.054 GB, free: 88.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/12.98, allocations: 81.23 kB / 5.054 GB, free: 88.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/12.98, allocations: 84.55 kB / 5.054 GB, free: 88.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/12.98, allocations: 42.52 kB / 5.054 GB, free: 88.81 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001539/12.98, allocations: 1.073 MB / 5.055 GB, free: 88.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/12.98, allocations: 0 / 5.055 GB, free: 88.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003961/12.98, allocations: 1.251 MB / 5.057 GB, free: 88.62 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 () * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.005114/12.99, allocations: 3.869 MB / 5.06 GB, free: 87.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003399/12.99, allocations: 1.972 MB / 5.062 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.475e-06/12.99, allocations: 0 / 5.062 GB, free: 87.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/12.99, allocations: 0.5159 MB / 5.063 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005664/13, allocations: 1.113 MB / 5.064 GB, free: 87.03 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/13, allocations: 3.834 MB / 5.068 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/13.01, allocations: 1.73 MB / 5.069 GB, free: 85.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003487/13.01, allocations: 0.7301 MB / 5.07 GB, free: 85.28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/13.01, allocations: 129.2 kB / 5.07 GB, free: 85.27 MB / 0.9948 GB Notification: Performance of SimCode: time 2.204e-06/13.01, allocations: 0 / 5.07 GB, free: 85.27 MB / 0.9948 GB Notification: Performance of Templates: time 0.09166/13.1, allocations: 61.56 MB / 5.13 GB, free: 81.62 MB / 0.9948 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)