Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 181.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 90.89 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003634, allocations: 12.19 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.279/4.439, allocations: 2.5 GB / 3.401 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/4.44, allocations: 112.4 kB / 3.402 GB, free: 51.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.942/9.381, allocations: 1.604 GB / 5.005 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/9.381, allocations: 0 / 5.005 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000371/9.382, allocations: 69.36 kB / 5.005 GB, free: 104.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01058/9.392, allocations: 3.402 MB / 5.008 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/9.392, allocations: 9.406 kB / 5.008 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/9.397, allocations: 0.6691 MB / 5.009 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/9.402, allocations: 2.803 MB / 5.012 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/9.402, allocations: 143 kB / 5.012 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/9.402, allocations: 200 kB / 5.012 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/9.405, allocations: 2.231 MB / 5.014 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/9.405, allocations: 7.25 kB / 5.014 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/9.405, allocations: 78.56 kB / 5.014 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/9.406, allocations: 74.08 kB / 5.015 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/9.408, allocations: 1.912 MB / 5.016 GB, free: 101.7 MB / 0.9323 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.009603/9.418, allocations: 9.144 MB / 5.025 GB, free: 97.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/9.419, allocations: 0.9717 MB / 5.026 GB, free: 97.59 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/9.42, allocations: 0.5801 MB / 5.027 GB, free: 97.58 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00371/9.424, allocations: 2.319 MB / 5.029 GB, free: 96.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/9.424, allocations: 47.94 kB / 5.029 GB, free: 96.44 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001238/9.425, allocations: 174.8 kB / 5.029 GB, free: 96.37 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 7.173e-06/9.425, allocations: 2.5 kB / 5.029 GB, free: 96.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=105): time 0.009574/9.435, allocations: 4.211 MB / 5.033 GB, free: 95.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/9.435, allocations: 62.81 kB / 5.033 GB, free: 95.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/9.437, allocations: 2.047 MB / 5.035 GB, free: 95.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.317e-05/9.437, allocations: 56.59 kB / 5.036 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/9.438, allocations: 1.18 MB / 5.037 GB, free: 94.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/9.438, allocations: 373.1 kB / 5.037 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/9.438, allocations: 29.5 kB / 5.037 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/9.438, allocations: 356.9 kB / 5.037 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/9.439, allocations: 469.5 kB / 5.038 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/9.439, allocations: 1.059 MB / 5.039 GB, free: 93.52 MB / 0.9323 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.008642/9.448, allocations: 3.373 MB / 5.042 GB, free: 92.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/9.448, allocations: 3.969 kB / 5.042 GB, free: 92.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002726/9.451, allocations: 1.781 MB / 5.044 GB, free: 92.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/9.451, allocations: 0.5137 MB / 5.044 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/9.451, allocations: 14.06 kB / 5.044 GB, free: 91.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/9.452, allocations: 351.4 kB / 5.045 GB, free: 91.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/9.453, allocations: 289.9 kB / 5.045 GB, free: 91.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/9.454, allocations: 1.007 MB / 5.046 GB, free: 91.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/9.457, allocations: 179.4 kB / 5.046 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/9.457, allocations: 76.83 kB / 5.046 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/9.457, allocations: 3.25 kB / 5.046 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002246/9.459, allocations: 1.542 MB / 5.048 GB, free: 91.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/9.459, allocations: 17.72 kB / 5.048 GB, free: 91.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/9.46, allocations: 344.9 kB / 5.048 GB, free: 91.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/9.461, allocations: 289 kB / 5.048 GB, free: 91.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/9.462, allocations: 0.9997 MB / 5.049 GB, free: 90.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/9.464, allocations: 147.8 kB / 5.05 GB, free: 90.65 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.464, allocations: 75.73 kB / 5.05 GB, free: 90.65 MB / 0.9323 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.001151/9.465, allocations: 0.6665 MB / 5.05 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/9.465, allocations: 243.9 kB / 5.05 GB, free: 90.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/9.467, allocations: 1.408 MB / 5.052 GB, free: 90.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/9.467, allocations: 10.84 kB / 5.052 GB, free: 90.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/9.467, allocations: 0.9688 kB / 5.052 GB, free: 90.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/9.469, allocations: 1.076 MB / 5.053 GB, free: 89.78 MB / 0.9323 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.005005/9.474, allocations: 3.803 MB / 5.057 GB, free: 87.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/9.474, allocations: 6.828 kB / 5.057 GB, free: 87.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/9.474, allocations: 180.2 kB / 5.057 GB, free: 87.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/9.476, allocations: 327.2 kB / 5.057 GB, free: 87.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/9.476, allocations: 30.33 kB / 5.057 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/9.476, allocations: 0.9677 MB / 5.058 GB, free: 87.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/9.476, allocations: 11.28 kB / 5.058 GB, free: 87.09 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/9.479, allocations: 2.141 MB / 5.06 GB, free: 85.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/9.48, allocations: 446.5 kB / 5.061 GB, free: 85.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/9.48, allocations: 29.91 kB / 5.061 GB, free: 85.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/9.481, allocations: 98.58 kB / 5.061 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/9.481, allocations: 87.64 kB / 5.061 GB, free: 85.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/9.481, allocations: 44.66 kB / 5.061 GB, free: 85.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001769/9.483, allocations: 1.379 MB / 5.062 GB, free: 85.03 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/9.483, allocations: 0 / 5.062 GB, free: 85.03 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0047/9.488, allocations: 1.409 MB / 5.064 GB, free: 84.74 MB / 0.9323 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.004993/9.493, allocations: 3.745 MB / 5.067 GB, free: 83.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003171/9.496, allocations: 1.987 MB / 5.069 GB, free: 82.38 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/9.496, allocations: 0 / 5.069 GB, free: 82.38 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/9.497, allocations: 0.5375 MB / 5.07 GB, free: 82.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00753/9.504, allocations: 1.321 MB / 5.071 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/9.511, allocations: 5.019 MB / 5.076 GB, free: 79 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009884/9.512, allocations: 1.689 MB / 5.078 GB, free: 78.16 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002538/9.514, allocations: 0.5685 MB / 5.078 GB, free: 78.05 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/9.515, allocations: 172 kB / 5.078 GB, free: 77.98 MB / 0.9323 GB Notification: Performance of SimCode: time 6.71e-07/9.515, allocations: 4 kB / 5.078 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of Templates: time 0.09868/9.613, allocations: 82.68 MB / 5.159 GB, free: 4.02 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)