Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6403/0.6403, allocations: 94.77 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001041/0.001041, allocations: 170.5 kB / 125.6 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.315/1.315, allocations: 170.6 MB / 319.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001809/0.001809, allocations: 110.5 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.857e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.91/16.07, allocations: 5.577 GB / 6.075 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/16.07, allocations: 95.05 kB / 6.075 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.529/19.6, allocations: 0.9159 GB / 6.991 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.994e-06/19.6, allocations: 1.969 kB / 6.991 GB, free: 42.47 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001779/19.6, allocations: 67.95 kB / 6.991 GB, free: 42.46 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008092/19.61, allocations: 2.537 MB / 6.994 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/19.61, allocations: 9.656 kB / 6.994 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/19.61, allocations: 242.4 kB / 6.994 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05627/19.67, allocations: 27.78 MB / 7.021 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/19.67, allocations: 39.25 kB / 7.021 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/19.67, allocations: 78.19 kB / 7.021 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002041/19.67, allocations: 1.115 MB / 7.022 GB, free: 39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/19.67, allocations: 1.232 MB / 7.024 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/19.67, allocations: 0 / 7.024 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/19.67, allocations: 3.688 kB / 7.024 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/19.67, allocations: 48.66 kB / 7.024 GB, free: 38.83 MB / 0.5573 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.008689/19.68, allocations: 5.751 MB / 7.029 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/19.68, allocations: 0.6857 MB / 7.03 GB, free: 36.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/19.68, allocations: 395.6 kB / 7.03 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/19.68, allocations: 359.5 kB / 7.031 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/19.68, allocations: 56.86 kB / 7.031 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 4.258e-06/19.68, allocations: 3.281 kB / 7.031 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=89): time 0.01725/19.7, allocations: 4.257 MB / 7.035 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/19.7, allocations: 113.5 kB / 7.035 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/19.7, allocations: 1.063 MB / 7.036 GB, free: 34.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/19.7, allocations: 29.58 kB / 7.036 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/19.7, allocations: 0.8253 MB / 7.037 GB, free: 33.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/19.7, allocations: 302 kB / 7.037 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/19.7, allocations: 0 / 7.037 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001024/19.7, allocations: 348.6 kB / 7.037 GB, free: 33.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/19.7, allocations: 411.7 kB / 7.038 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/19.7, allocations: 0.6916 MB / 7.038 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/19.7, allocations: 0.7004 MB / 7.039 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/19.7, allocations: 3.906 kB / 7.039 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003655/19.71, allocations: 1.593 MB / 7.041 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006314/19.71, allocations: 2.233 MB / 7.043 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/19.71, allocations: 3.594 kB / 7.043 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009231/19.71, allocations: 318.5 kB / 7.043 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/19.71, allocations: 269.3 kB / 7.043 GB, free: 30.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/19.72, allocations: 5.414 MB / 7.049 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/19.72, allocations: 122.2 kB / 7.049 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/19.72, allocations: 56.69 kB / 7.049 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/19.72, allocations: 3.938 kB / 7.049 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004159/19.73, allocations: 1.679 MB / 7.051 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/19.73, allocations: 5.469 kB / 7.051 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/19.73, allocations: 257.6 kB / 7.051 GB, free: 26.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/19.73, allocations: 236.8 kB / 7.051 GB, free: 26.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/19.73, allocations: 6.307 MB / 7.057 GB, free: 20.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/19.74, allocations: 116.9 kB / 7.057 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/19.74, allocations: 49.58 kB / 7.057 GB, free: 20.95 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.hex.m1_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a1 to port_b1 (m1_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006647/19.74, allocations: 139.3 kB / 7.057 GB, free: 20.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006327/19.74, allocations: 152.2 kB / 7.058 GB, free: 20.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/19.74, allocations: 1.415 MB / 7.059 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/19.74, allocations: 13.06 kB / 7.059 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/19.74, allocations: 3.438 kB / 7.059 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/19.74, allocations: 3.844 kB / 7.059 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007475/19.75, allocations: 2.937 MB / 7.062 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/19.75, allocations: 3.516 kB / 7.062 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/19.75, allocations: 213.8 kB / 7.062 GB, free: 20.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/19.75, allocations: 290.4 kB / 7.062 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/19.75, allocations: 24.94 kB / 7.062 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/19.76, allocations: 3.933 MB / 7.066 GB, free: 32.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/19.76, allocations: 0 / 7.066 GB, free: 32.71 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/19.76, allocations: 1.832 MB / 7.068 GB, free: 32.42 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/19.76, allocations: 366.1 kB / 7.068 GB, free: 32.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006074/19.76, allocations: 9.297 kB / 7.068 GB, free: 32.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/19.76, allocations: 102.6 kB / 7.069 GB, free: 32.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/19.76, allocations: 61.11 kB / 7.069 GB, free: 32.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/19.76, allocations: 59.09 kB / 7.069 GB, free: 32.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001471/19.77, allocations: 0.8002 MB / 7.069 GB, free: 32.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.6e-07/19.77, allocations: 4 kB / 7.069 GB, free: 32.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006253/19.77, allocations: 1.265 MB / 7.071 GB, free: 31.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.vol1.dynBal.medium.T,hex.vol2.dynBal.medium.p,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.medium.T,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 6,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00476/19.78, allocations: 2.264 MB / 7.073 GB, free: 31.29 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004621/19.78, allocations: 2.32 MB / 7.075 GB, free: 30.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/19.78, allocations: 0.5625 kB / 7.075 GB, free: 30.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/19.78, allocations: 0.6707 MB / 7.076 GB, free: 30.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/19.79, allocations: 0.7181 MB / 7.076 GB, free: 30.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/19.79, allocations: 2.472 MB / 7.079 GB, free: 29.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/19.79, allocations: 1.396 MB / 7.08 GB, free: 28.96 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002637/19.8, allocations: 0.4884 MB / 7.081 GB, free: 28.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/19.8, allocations: 107.2 kB / 7.081 GB, free: 28.87 MB / 0.573 GB Notification: Performance of SimCode: time 1.673e-06/19.8, allocations: 0 / 7.081 GB, free: 28.87 MB / 0.573 GB Notification: Performance of Templates: time 0.0794/19.88, allocations: 46.86 MB / 7.127 GB, free: 0.9922 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)