Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.003/4.003, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002811/0.002811, allocations: 174.7 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.803/3.803, allocations: 205.4 MB / 0.5772 GB, free: 20.83 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.001002/0.001001, allocations: 99.78 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 20.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.069/8.347, allocations: 2.5 GB / 3.399 GB, free: 18.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/8.347, allocations: 111.7 kB / 3.399 GB, free: 18.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.28/17.63, allocations: 1.603 GB / 5.003 GB, free: 106 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.735e-06/17.63, allocations: 0 / 5.003 GB, free: 106 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0004863/17.63, allocations: 68.69 kB / 5.003 GB, free: 106 MB / 0.9324 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.01881/17.65, allocations: 3.425 MB / 5.006 GB, free: 104.4 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/17.65, allocations: 10.62 kB / 5.006 GB, free: 104.4 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007956/17.66, allocations: 0.6716 MB / 5.007 GB, free: 104.2 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/17.67, allocations: 2.712 MB / 5.009 GB, free: 103.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/17.67, allocations: 150 kB / 5.009 GB, free: 103.6 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008091/17.67, allocations: 192.7 kB / 5.01 GB, free: 103.6 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007016/17.67, allocations: 2.225 MB / 5.012 GB, free: 103.4 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.169e-05/17.67, allocations: 7.844 kB / 5.012 GB, free: 103.4 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/17.67, allocations: 76.81 kB / 5.012 GB, free: 103.4 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/17.67, allocations: 80.23 kB / 5.012 GB, free: 103.4 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/17.68, allocations: 1.912 MB / 5.014 GB, free: 103.4 MB / 0.9324 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.02085/17.7, allocations: 9.112 MB / 5.023 GB, free: 99.34 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/17.7, allocations: 0.9665 MB / 5.024 GB, free: 99.29 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/17.71, allocations: 0.581 MB / 5.024 GB, free: 99.27 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005661/17.71, allocations: 2.302 MB / 5.027 GB, free: 98.17 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/17.71, allocations: 50.41 kB / 5.027 GB, free: 98.13 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002056/17.71, allocations: 169.8 kB / 5.027 GB, free: 98.06 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=103): time 5.4e-06/17.71, allocations: 2.719 kB / 5.027 GB, free: 98.06 MB / 0.9324 GB Notification: Performance of matching and sorting (n=105): time 0.02113/17.73, allocations: 4.13 MB / 5.031 GB, free: 97.14 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/17.74, allocations: 64.88 kB / 5.031 GB, free: 97.08 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/17.74, allocations: 2.033 MB / 5.033 GB, free: 96.3 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0003732/17.74, allocations: 56.83 kB / 5.033 GB, free: 96.25 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/17.74, allocations: 1.177 MB / 5.034 GB, free: 95.32 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005987/17.74, allocations: 368.3 kB / 5.034 GB, free: 95.04 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/17.74, allocations: 32.8 kB / 5.034 GB, free: 95.02 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001213/17.74, allocations: 360.3 kB / 5.035 GB, free: 94.69 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/17.74, allocations: 465.8 kB / 5.035 GB, free: 94.52 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/17.75, allocations: 1.048 MB / 5.036 GB, free: 93.61 MB / 0.9324 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.01659/17.76, allocations: 2.132 MB / 5.038 GB, free: 93.02 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/17.76, allocations: 2.438 kB / 5.038 GB, free: 93.02 MB / 0.9324 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005417/17.77, allocations: 1.765 MB / 5.04 GB, free: 92.28 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003657/17.77, allocations: 0.5063 MB / 5.041 GB, free: 91.64 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/17.77, allocations: 15.47 kB / 5.041 GB, free: 91.64 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/17.77, allocations: 335.9 kB / 5.041 GB, free: 91.57 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/17.77, allocations: 285.5 kB / 5.041 GB, free: 91.55 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/17.77, allocations: 0.9783 MB / 5.042 GB, free: 90.84 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/17.78, allocations: 165.6 kB / 5.042 GB, free: 90.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004401/17.78, allocations: 76.02 kB / 5.042 GB, free: 90.79 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/17.78, allocations: 3.531 kB / 5.042 GB, free: 90.79 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004268/17.78, allocations: 1.523 MB / 5.044 GB, free: 90.16 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/17.78, allocations: 14.38 kB / 5.044 GB, free: 90.16 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/17.79, allocations: 330.1 kB / 5.044 GB, free: 90.11 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/17.79, allocations: 292.2 kB / 5.044 GB, free: 90.07 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/17.79, allocations: 0.9747 MB / 5.045 GB, free: 89.37 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/17.79, allocations: 152.2 kB / 5.045 GB, free: 89.32 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/17.79, allocations: 77.25 kB / 5.046 GB, free: 89.31 MB / 0.9324 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.002219/17.8, allocations: 0.6572 MB / 5.046 GB, free: 88.87 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007375/17.8, allocations: 235.4 kB / 5.046 GB, free: 88.75 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/17.8, allocations: 1.454 MB / 5.048 GB, free: 88.11 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/17.8, allocations: 11.78 kB / 5.048 GB, free: 88.11 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/17.8, allocations: 0 / 5.048 GB, free: 88.11 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002803/17.8, allocations: 1.076 MB / 5.049 GB, free: 87.64 MB / 0.9324 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.01117/17.81, allocations: 3.9 MB / 5.053 GB, free: 85.66 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/17.81, allocations: 7.375 kB / 5.053 GB, free: 85.66 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/17.82, allocations: 172.8 kB / 5.053 GB, free: 85.64 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/17.82, allocations: 312.3 kB / 5.053 GB, free: 85.58 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/17.82, allocations: 31.83 kB / 5.053 GB, free: 85.57 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/17.82, allocations: 0.9489 MB / 5.054 GB, free: 84.86 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/17.82, allocations: 11.69 kB / 5.054 GB, free: 84.86 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/17.83, allocations: 2.155 MB / 5.056 GB, free: 83.16 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/17.83, allocations: 445.1 kB / 5.057 GB, free: 82.76 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007343/17.83, allocations: 28 kB / 5.057 GB, free: 82.73 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/17.83, allocations: 107.3 kB / 5.057 GB, free: 82.66 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/17.83, allocations: 83.83 kB / 5.057 GB, free: 82.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/17.83, allocations: 50.38 kB / 5.057 GB, free: 82.56 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.003471/17.84, allocations: 1.364 MB / 5.058 GB, free: 81.41 MB / 0.9324 GB Notification: Performance of sort global known variables: time 6.51e-07/17.84, allocations: 0 / 5.058 GB, free: 81.41 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.007409/17.84, allocations: 1.401 MB / 5.06 GB, free: 80.04 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (86): * Single equations (assignments): 83 * 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.007116/17.85, allocations: 3.71 MB / 5.063 GB, free: 76.74 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.006428/17.86, allocations: 1.992 MB / 5.065 GB, free: 74.98 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/17.86, allocations: 0.625 kB / 5.065 GB, free: 74.98 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/17.86, allocations: 0.5549 MB / 5.066 GB, free: 74.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/17.87, allocations: 1.335 MB / 5.067 GB, free: 73.53 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/17.88, allocations: 4.942 MB / 5.072 GB, free: 68.88 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/17.89, allocations: 1.689 MB / 5.074 GB, free: 67.49 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.004762/17.89, allocations: 0.567 MB / 5.074 GB, free: 67.08 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/17.89, allocations: 171 kB / 5.074 GB, free: 66.92 MB / 0.9324 GB Notification: Performance of SimCode: time 2.465e-06/17.89, allocations: 0 / 5.074 GB, free: 66.92 MB / 0.9324 GB Notification: Performance of Templates: time 0.2164/18.11, allocations: 80.64 MB / 5.153 GB, free: 5.164 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)