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.833/1.833, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001076/0.001076, allocations: 187.9 kB / 371.9 MB, free: 10.29 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.55/1.55, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009258/0.0009258, allocations: 97.14 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 12.53 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/6.047, allocations: 2.383 GB / 3.363 GB, free: 308.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/6.047, allocations: 106.8 kB / 3.363 GB, free: 308.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.779/11.83, allocations: 1.669 GB / 5.032 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.744e-06/11.83, allocations: 0 / 5.032 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003061/11.83, allocations: 70.88 kB / 5.032 GB, free: 96.62 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.01314/11.84, allocations: 3.427 MB / 5.035 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/11.84, allocations: 8.031 kB / 5.035 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/11.85, allocations: 0.6716 MB / 5.036 GB, free: 92.46 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007798/11.85, allocations: 2.779 MB / 5.038 GB, free: 89.61 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/11.85, allocations: 147.1 kB / 5.039 GB, free: 89.47 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/11.85, allocations: 196 kB / 5.039 GB, free: 89.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00449/11.86, allocations: 2.197 MB / 5.041 GB, free: 87.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/11.86, allocations: 4 kB / 5.041 GB, free: 87.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/11.86, allocations: 75.98 kB / 5.041 GB, free: 86.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/11.86, allocations: 79.53 kB / 5.041 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/11.86, allocations: 1.911 MB / 5.043 GB, free: 84.95 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.01334/11.88, allocations: 9.098 MB / 5.052 GB, free: 75.33 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/11.88, allocations: 0.9767 MB / 5.053 GB, free: 74.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/11.88, allocations: 2.305 MB / 5.055 GB, free: 71.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/11.88, allocations: 51.45 kB / 5.055 GB, free: 71.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/11.88, allocations: 178.6 kB / 5.055 GB, free: 71.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 3.526e-06/11.88, allocations: 0 / 5.055 GB, free: 71.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.01053/11.89, allocations: 3.918 MB / 5.059 GB, free: 67.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/11.89, allocations: 60.41 kB / 5.059 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/11.9, allocations: 1.793 MB / 5.061 GB, free: 65.76 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/11.9, allocations: 49.7 kB / 5.061 GB, free: 65.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/11.9, allocations: 1.184 MB / 5.062 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/11.9, allocations: 370.8 kB / 5.062 GB, free: 64.13 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/11.9, allocations: 24 kB / 5.062 GB, free: 64.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/11.9, allocations: 361.9 kB / 5.063 GB, free: 63.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/11.9, allocations: 463.8 kB / 5.063 GB, free: 63.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/11.9, allocations: 1.046 MB / 5.064 GB, free: 61.98 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.009086/11.91, allocations: 2.164 MB / 5.066 GB, free: 59.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/11.91, allocations: 4 kB / 5.066 GB, free: 59.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003046/11.91, allocations: 1.769 MB / 5.068 GB, free: 58.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001015/11.91, allocations: 5.974 MB / 5.074 GB, free: 51.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/11.91, allocations: 12 kB / 5.074 GB, free: 51.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/11.91, allocations: 332.6 kB / 5.074 GB, free: 51.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/11.91, allocations: 299.5 kB / 5.075 GB, free: 50.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008253/11.91, allocations: 0.9742 MB / 5.076 GB, free: 49.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/11.92, allocations: 171.5 kB / 5.076 GB, free: 49.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/11.92, allocations: 79.97 kB / 5.076 GB, free: 49.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/11.92, allocations: 4 kB / 5.076 GB, free: 49.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/11.92, allocations: 1.527 MB / 5.077 GB, free: 48.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/11.92, allocations: 12 kB / 5.077 GB, free: 48.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/11.92, allocations: 335.6 kB / 5.078 GB, free: 47.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/11.92, allocations: 283.5 kB / 5.078 GB, free: 47.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007909/11.92, allocations: 0.9746 MB / 5.079 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/11.93, allocations: 139.6 kB / 5.079 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/11.93, allocations: 75.97 kB / 5.079 GB, free: 46.25 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.00179/11.93, allocations: 0.6617 MB / 5.08 GB, free: 45.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/11.93, allocations: 237.2 kB / 5.08 GB, free: 45.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/11.93, allocations: 1.403 MB / 5.081 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/11.93, allocations: 12 kB / 5.081 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/11.93, allocations: 0 / 5.081 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/11.93, allocations: 1.07 MB / 5.082 GB, free: 42.83 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.006193/11.94, allocations: 3.765 MB / 5.086 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/11.94, allocations: 12 kB / 5.086 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/11.94, allocations: 175.7 kB / 5.086 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/11.94, allocations: 320.4 kB / 5.086 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/11.94, allocations: 31.95 kB / 5.087 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007103/11.94, allocations: 0.9308 MB / 5.087 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/11.94, allocations: 11.94 kB / 5.087 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/11.94, allocations: 2.562 MB / 5.09 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/11.95, allocations: 438.1 kB / 5.09 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/11.95, allocations: 28 kB / 5.09 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/11.95, allocations: 95.77 kB / 5.09 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/11.95, allocations: 80.8 kB / 5.091 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/11.95, allocations: 43.98 kB / 5.091 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001824/11.95, allocations: 1.384 MB / 5.092 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/11.95, allocations: 0 / 5.092 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004373/11.95, allocations: 1.402 MB / 5.093 GB, free: 31.12 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004875/11.96, allocations: 3.728 MB / 5.097 GB, free: 27.17 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003752/11.96, allocations: 2.006 MB / 5.099 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/11.96, allocations: 0 / 5.099 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/11.96, allocations: 0.5571 MB / 5.099 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/11.97, allocations: 1.315 MB / 5.101 GB, free: 23.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009192/11.98, allocations: 5.608 MB / 5.106 GB, free: 17.65 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/11.98, allocations: 1.726 MB / 5.108 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002844/11.98, allocations: 0.5688 MB / 5.108 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/11.98, allocations: 167 kB / 5.109 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/11.98, allocations: 0 / 5.109 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of Templates: time 0.6953/12.68, allocations: 80.58 MB / 5.187 GB, free: 122.5 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)