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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001065/0.001065, allocations: 168.9 kB / 366.7 MB, free: 1.699 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.552/1.552, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0009137/0.0009136, allocations: 92.69 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.516e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6636, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.511/6.175, allocations: 2.383 GB / 3.357 GB, free: 55.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/6.175, allocations: 103.6 kB / 3.357 GB, free: 55.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.71/12.89, allocations: 1.65 GB / 5.007 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.403e-06/12.89, allocations: 0 / 5.007 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004652/12.89, allocations: 75.53 kB / 5.007 GB, free: 106.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.01085/12.9, allocations: 2.836 MB / 5.01 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/12.9, allocations: 14.27 kB / 5.01 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005377/12.9, allocations: 0.6661 MB / 5.011 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008378/12.91, allocations: 2.774 MB / 5.013 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/12.91, allocations: 58.38 kB / 5.013 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008832/12.91, allocations: 110.1 kB / 5.013 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004523/12.92, allocations: 1.673 MB / 5.015 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/12.92, allocations: 1.899 MB / 5.017 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.618e-05/12.92, allocations: 2.125 kB / 5.017 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/12.92, allocations: 3.719 kB / 5.017 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/12.92, allocations: 75.09 kB / 5.017 GB, free: 104.9 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.01483/12.94, allocations: 9.034 MB / 5.026 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/12.94, allocations: 0.9576 MB / 5.027 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/12.94, allocations: 0.5738 MB / 5.027 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003717/12.94, allocations: 2.298 MB / 5.03 GB, free: 99.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/12.94, allocations: 45.97 kB / 5.03 GB, free: 99.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001275/12.94, allocations: 192 kB / 5.03 GB, free: 99.82 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 3.627e-06/12.94, allocations: 0 / 5.03 GB, free: 99.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.006376/12.95, allocations: 3.033 MB / 5.033 GB, free: 99.04 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/12.95, allocations: 60.31 kB / 5.033 GB, free: 98.97 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/12.95, allocations: 1.434 MB / 5.034 GB, free: 98.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/12.95, allocations: 33.31 kB / 5.034 GB, free: 98.72 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007346/12.95, allocations: 1.188 MB / 5.035 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/12.95, allocations: 352.7 kB / 5.036 GB, free: 98.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/12.95, allocations: 2.156 kB / 5.036 GB, free: 98.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/12.95, allocations: 358.5 kB / 5.036 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/12.96, allocations: 463.2 kB / 5.037 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/12.96, allocations: 1.027 MB / 5.038 GB, free: 97.02 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.01774/12.97, allocations: 3.22 MB / 5.041 GB, free: 96.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/12.97, allocations: 7.719 kB / 5.041 GB, free: 96.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004377/12.98, allocations: 1.817 MB / 5.043 GB, free: 96.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001437/12.98, allocations: 5.877 MB / 5.048 GB, free: 90.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/12.98, allocations: 13.44 kB / 5.048 GB, free: 90.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/12.98, allocations: 359.5 kB / 5.049 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/12.98, allocations: 301.2 kB / 5.049 GB, free: 90.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/12.98, allocations: 1.021 MB / 5.05 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/12.99, allocations: 127.9 kB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/12.99, allocations: 81.12 kB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/12.99, allocations: 7.219 kB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003188/12.99, allocations: 1.551 MB / 5.052 GB, free: 90.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/12.99, allocations: 13.22 kB / 5.052 GB, free: 90.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/12.99, allocations: 355.4 kB / 5.052 GB, free: 90.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/12.99, allocations: 295.9 kB / 5.052 GB, free: 90.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008966/12.99, allocations: 1.033 MB / 5.053 GB, free: 89.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/12.99, allocations: 101.3 kB / 5.053 GB, free: 89.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/12.99, allocations: 85.47 kB / 5.053 GB, free: 89.5 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.0004255/13, allocations: 153.9 kB / 5.054 GB, free: 89.39 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/13, allocations: 216.5 kB / 5.054 GB, free: 89.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/13, allocations: 1.475 MB / 5.055 GB, free: 89.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/13, allocations: 14.03 kB / 5.055 GB, free: 89.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/13, allocations: 3.688 kB / 5.055 GB, free: 89.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002268/13, allocations: 1.153 MB / 5.056 GB, free: 89.04 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.006617/13.01, allocations: 3.579 MB / 5.06 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/13.01, allocations: 6.781 kB / 5.06 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/13.01, allocations: 180.7 kB / 5.06 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/13.01, allocations: 319.9 kB / 5.06 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/13.01, allocations: 16.69 kB / 5.06 GB, free: 88.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/13.01, allocations: 0.9527 MB / 5.061 GB, free: 87.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/13.01, allocations: 11.38 kB / 5.061 GB, free: 87.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/13.01, allocations: 2.461 MB / 5.064 GB, free: 86.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009613/13.01, allocations: 415.2 kB / 5.064 GB, free: 86.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/13.02, allocations: 13.94 kB / 5.064 GB, free: 86.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/13.02, allocations: 80.97 kB / 5.064 GB, free: 86.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/13.02, allocations: 70.12 kB / 5.064 GB, free: 86.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/13.02, allocations: 51.39 kB / 5.064 GB, free: 86.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001576/13.02, allocations: 1.074 MB / 5.065 GB, free: 86.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/13.02, allocations: 0 / 5.065 GB, free: 86.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004728/13.02, allocations: 1.253 MB / 5.067 GB, free: 86.37 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.005125/13.03, allocations: 3.865 MB / 5.07 GB, free: 84.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003351/13.03, allocations: 1.985 MB / 5.072 GB, free: 84.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/13.03, allocations: 0 / 5.072 GB, free: 84.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/13.03, allocations: 0.5071 MB / 5.073 GB, free: 84.81 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/13.04, allocations: 1.112 MB / 5.074 GB, free: 84.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/13.04, allocations: 3.834 MB / 5.078 GB, free: 83.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/13.05, allocations: 1.734 MB / 5.079 GB, free: 83.06 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003429/13.05, allocations: 0.7319 MB / 5.08 GB, free: 83.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/13.05, allocations: 128.8 kB / 5.08 GB, free: 83.03 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/13.05, allocations: 0 / 5.08 GB, free: 83.03 MB / 0.9948 GB Notification: Performance of Templates: time 0.09247/13.14, allocations: 61.55 MB / 5.14 GB, free: 78.77 MB / 0.9948 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)