Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.583/0.583, allocations: 94.78 MB / 102.3 MB, free: 10.15 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.001072/0.001071, allocations: 176.8 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.4/1.4, allocations: 170.6 MB / 319.4 MB, free: 9.273 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.001678/0.001678, allocations: 110.5 kB / 381.3 MB, free: 18.27 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.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 61.53 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.62/15.78, allocations: 5.582 GB / 6.08 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/15.78, allocations: 94.59 kB / 6.08 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.074/19.85, allocations: 0.941 GB / 7.021 GB, free: 41.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.803e-06/19.85, allocations: 1.531 kB / 7.021 GB, free: 41.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003613/19.85, allocations: 58.03 kB / 7.022 GB, free: 41.11 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: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.009878/19.86, allocations: 2.727 MB / 7.024 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/19.86, allocations: 9.438 kB / 7.024 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/19.86, allocations: 270.6 kB / 7.024 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06041/19.92, allocations: 27.86 MB / 7.052 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/19.92, allocations: 44.72 kB / 7.052 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007381/19.92, allocations: 86.84 kB / 7.052 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003303/19.93, allocations: 1.193 MB / 7.053 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/19.93, allocations: 1.34 MB / 7.054 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/19.93, allocations: 3.844 kB / 7.054 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/19.93, allocations: 3.625 kB / 7.054 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/19.93, allocations: 57.91 kB / 7.054 GB, free: 36.71 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.01157/19.94, allocations: 6.122 MB / 7.06 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/19.94, allocations: 0.829 MB / 7.061 GB, free: 33.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/19.95, allocations: 426.5 kB / 7.062 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/19.95, allocations: 438.8 kB / 7.062 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/19.95, allocations: 52.38 kB / 7.062 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=81): time 3.306e-06/19.95, allocations: 3.172 kB / 7.062 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=98): time 0.01881/19.96, allocations: 4.418 MB / 7.066 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/19.96, allocations: 118.1 kB / 7.066 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/19.97, allocations: 1.115 MB / 7.068 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/19.97, allocations: 29.64 kB / 7.068 GB, free: 31.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/19.97, allocations: 0.8799 MB / 7.068 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/19.97, allocations: 332.3 kB / 7.069 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/19.97, allocations: 0 / 7.069 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001107/19.97, allocations: 349.8 kB / 7.069 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/19.97, allocations: 440.4 kB / 7.069 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/19.97, allocations: 0.7327 MB / 7.07 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/19.97, allocations: 0.7375 MB / 7.071 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/19.97, allocations: 3.938 kB / 7.071 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004302/19.98, allocations: 1.73 MB / 7.073 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005971/19.98, allocations: 2.358 MB / 7.075 GB, free: 26.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/19.98, allocations: 3.562 kB / 7.075 GB, free: 26.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/19.98, allocations: 344.9 kB / 7.075 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/19.98, allocations: 282.9 kB / 7.076 GB, free: 26.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/19.99, allocations: 6.842 MB / 7.082 GB, free: 20.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/19.99, allocations: 130.5 kB / 7.082 GB, free: 20.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/19.99, allocations: 53.89 kB / 7.082 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/19.99, allocations: 3.562 kB / 7.082 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004115/20, allocations: 1.794 MB / 7.084 GB, free: 19.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/20, allocations: 6.406 kB / 7.084 GB, free: 19.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007248/20, allocations: 290.6 kB / 7.084 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/20, allocations: 248.1 kB / 7.085 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005392/20, allocations: 7.742 MB / 7.092 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/20, allocations: 119.6 kB / 7.092 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/20.01, allocations: 53.25 kB / 7.092 GB, free: 12.57 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: 26 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 2 {(2,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006254/20.01, allocations: 140.2 kB / 7.092 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/20.01, allocations: 170.3 kB / 7.093 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/20.01, allocations: 1.49 MB / 7.094 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/20.01, allocations: 14 kB / 7.094 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/20.01, allocations: 4 kB / 7.094 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/20.01, allocations: 6.703 kB / 7.094 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006855/20.02, allocations: 3.109 MB / 7.097 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/20.02, allocations: 0 / 7.097 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/20.02, allocations: 231.4 kB / 7.097 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009754/20.02, allocations: 293.9 kB / 7.098 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/20.02, allocations: 19.89 kB / 7.098 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/20.02, allocations: 3.926 MB / 7.102 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/20.02, allocations: 3.938 kB / 7.102 GB, free: 21.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/20.03, allocations: 1.948 MB / 7.103 GB, free: 19.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/20.03, allocations: 396.9 kB / 7.104 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/20.03, allocations: 4 kB / 7.104 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/20.03, allocations: 98.8 kB / 7.104 GB, free: 19.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/20.03, allocations: 67.98 kB / 7.104 GB, free: 19.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/20.03, allocations: 54.12 kB / 7.104 GB, free: 19.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001783/20.03, allocations: 0.8457 MB / 7.105 GB, free: 18.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/20.03, allocations: 0 / 7.105 GB, free: 18.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00749/20.04, allocations: 1.318 MB / 7.106 GB, free: 17.32 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 (94): * Single equations (assignments): 89 * 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.006111/20.05, allocations: 2.324 MB / 7.108 GB, free: 15.33 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005518/20.05, allocations: 2.778 MB / 7.111 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/20.05, allocations: 0.75 kB / 7.111 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/20.05, allocations: 0.7085 MB / 7.112 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/20.06, allocations: 0.734 MB / 7.113 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/20.07, allocations: 2.558 MB / 7.115 GB, free: 9.098 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/20.07, allocations: 1.456 MB / 7.116 GB, free: 7.887 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004401/20.07, allocations: 0.5067 MB / 7.117 GB, free: 7.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/20.07, allocations: 112.9 kB / 7.117 GB, free: 7.418 MB / 0.573 GB Notification: Performance of SimCode: time 4.659e-06/20.07, allocations: 0 / 7.117 GB, free: 7.418 MB / 0.573 GB Notification: Performance of Templates: time 0.5363/20.61, allocations: 48.81 MB / 7.165 GB, free: 54.51 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)