Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009372/0.009373, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 252 MB / 0.5105 GB, free: 4.641 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006907/0.0006909, allocations: 16 kB / 0.6249 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5346/0.5353, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8419/1.377, allocations: 242.9 MB / 0.966 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01877/1.396, allocations: 11.92 MB / 0.9776 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004221/1.4, allocations: 63.69 kB / 0.9777 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/1.404, allocations: 0.8823 MB / 0.9785 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/1.415, allocations: 2.992 MB / 0.9814 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/1.419, allocations: 1.428 MB / 0.9828 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009492/1.429, allocations: 6.387 MB / 0.9891 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/1.431, allocations: 1.235 MB / 0.9903 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/1.437, allocations: 1.788 MB / 0.992 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.44, allocations: 1.314 MB / 0.9933 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003698/1.441, allocations: 60.69 kB / 0.9934 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/1.446, allocations: 2.434 MB / 0.9957 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000692/1.447, allocations: 451.5 kB / 0.9962 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/1.449, allocations: 0.9051 MB / 0.9971 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/1.454, allocations: 3.279 MB / 1 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.454, allocations: 0 / 1 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.379e-06/1.454, allocations: 0 / 1 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.744e-05/1.454, allocations: 2.531 kB / 1 GB, free: 15.5 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004283/1.459, allocations: 1.912 MB / 1.002 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.459, allocations: 13.41 kB / 1.002 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/1.46, allocations: 349.5 kB / 1.002 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/1.463, allocations: 1.344 MB / 1.004 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/1.463, allocations: 86.7 kB / 1.004 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/1.463, allocations: 129.1 kB / 1.004 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/1.465, allocations: 1.225 MB / 1.005 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/1.465, allocations: 0 / 1.005 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.855e-05/1.465, allocations: 45.19 kB / 1.005 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/1.465, allocations: 42.16 kB / 1.005 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.467, allocations: 0.9806 MB / 1.006 GB, free: 12.79 MB / 0.7325 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.007067/1.474, allocations: 5.553 MB / 1.012 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/1.475, allocations: 0.8679 MB / 1.013 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/1.476, allocations: 415.2 kB / 1.013 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/1.477, allocations: 0.6091 MB / 1.013 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.477, allocations: 40.34 kB / 1.014 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.395e-06/1.477, allocations: 0 / 1.014 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.003715/1.481, allocations: 1.463 MB / 1.015 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.481, allocations: 61.62 kB / 1.015 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.482, allocations: 1.204 MB / 1.016 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.482, allocations: 48.06 kB / 1.016 GB, free: 5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.483, allocations: 0.6882 MB / 1.017 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/1.483, allocations: 242.1 kB / 1.017 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/1.483, allocations: 69.92 kB / 1.017 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.483, allocations: 343.3 kB / 1.018 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/1.484, allocations: 302.8 kB / 1.018 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/1.485, allocations: 0.5369 MB / 1.018 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/1.486, allocations: 0.7504 MB / 1.019 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.486, allocations: 2.812 kB / 1.019 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00253/1.488, allocations: 1.098 MB / 1.02 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.489, allocations: 165.2 kB / 1.02 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.489, allocations: 4 kB / 1.02 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/1.489, allocations: 154.9 kB / 1.02 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/1.49, allocations: 184.4 kB / 1.021 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/1.491, allocations: 1.766 MB / 1.022 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.493, allocations: 174 kB / 1.023 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/1.493, allocations: 33.08 kB / 1.023 GB, free: 152 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.493, allocations: 3.031 kB / 1.023 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/1.495, allocations: 0.8673 MB / 1.023 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.495, allocations: 2.688 kB / 1.023 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.495, allocations: 90.56 kB / 1.024 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/1.495, allocations: 167.5 kB / 1.024 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/1.498, allocations: 3.137 MB / 1.027 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.5, allocations: 170.9 kB / 1.027 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/1.5, allocations: 29.53 kB / 1.027 GB, free: 12.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000877/1.501, allocations: 441.3 kB / 1.027 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.501, allocations: 147.4 kB / 1.027 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.503, allocations: 0.9593 MB / 1.028 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.503, allocations: 8 kB / 1.028 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/1.503, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/1.504, allocations: 1.075 MB / 1.029 GB, free: 10.2 MB / 0.7481 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.004086/1.508, allocations: 2.475 MB / 1.032 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.508, allocations: 4 kB / 1.032 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/1.509, allocations: 166 kB / 1.032 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/1.509, allocations: 96.02 kB / 1.032 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.509, allocations: 16 kB / 1.032 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/1.51, allocations: 1.743 MB / 1.034 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.51, allocations: 6.531 kB / 1.034 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/1.513, allocations: 1.469 MB / 1.035 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/1.514, allocations: 331.1 kB / 1.036 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.514, allocations: 16.19 kB / 1.036 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.515, allocations: 131.5 kB / 1.036 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.515, allocations: 46.97 kB / 1.036 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/1.515, allocations: 31.98 kB / 1.036 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001162/1.516, allocations: 0.8202 MB / 1.037 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.516, allocations: 4 kB / 1.037 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002278/1.518, allocations: 0.8144 MB / 1.037 GB, free: 1.859 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008934/1.519, allocations: 377 kB / 1.038 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.522, allocations: 1.473 MB / 1.039 GB, free: 56 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.522, allocations: 4 kB / 1.039 GB, free: 52 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/1.523, allocations: 407.4 kB / 1.04 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.527, allocations: 0.7862 MB / 1.04 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/1.532, allocations: 3.374 MB / 1.044 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/1.533, allocations: 1.285 MB / 1.045 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001471/1.535, allocations: 350.2 kB / 1.045 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.535, allocations: 102 kB / 1.045 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/1.535, allocations: 0 / 1.045 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of Templates: time 0.05103/1.586, allocations: 28.25 MB / 1.073 GB, free: 13.93 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) Environment - environmentSimulation: