Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009741/0.0009738, allocations: 103.2 kB / 15.06 MB, free: 1.098 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.0009701/0.0009702, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0005429/0.0005429, allocations: 24.34 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.611/0.8377, allocations: 205.4 MB / 0.9877 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.8533, allocations: 10.98 MB / 0.9984 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.8565, allocations: 60.5 kB / 0.9985 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.8601, allocations: 0.9602 MB / 0.9994 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.8709, allocations: 3.02 MB / 1.002 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.8765, allocations: 1.682 MB / 1.004 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006303/0.8828, allocations: 2.735 MB / 1.007 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.885, allocations: 1.127 MB / 1.008 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.8889, allocations: 1.453 MB / 1.009 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.8908, allocations: 0.8213 MB / 1.01 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.8913, allocations: 62.94 kB / 1.01 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.8953, allocations: 1.169 MB / 1.011 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.896, allocations: 402.3 kB / 1.012 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008442/0.8968, allocations: 393.6 kB / 1.012 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.9005, allocations: 2.193 MB / 1.014 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9005, allocations: 3 kB / 1.014 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9005, allocations: 0 / 1.014 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.609e-05/0.9006, allocations: 0 / 1.014 GB, free: 8.215 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004475/0.9051, allocations: 1.903 MB / 1.016 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9051, allocations: 7.844 kB / 1.016 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.9071, allocations: 352.2 kB / 1.016 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.9097, allocations: 1.255 MB / 1.018 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.9098, allocations: 87.62 kB / 1.018 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.91, allocations: 121.9 kB / 1.018 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.9121, allocations: 1.206 MB / 1.019 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.9122, allocations: 3.219 kB / 1.019 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.9123, allocations: 42.56 kB / 1.019 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.9123, allocations: 51.36 kB / 1.019 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.914, allocations: 0.9638 MB / 1.02 GB, free: 4.371 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.007458/0.9215, allocations: 5.546 MB / 1.025 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.9228, allocations: 0.887 MB / 1.026 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.9232, allocations: 437.8 kB / 1.027 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.9232, allocations: 47.78 kB / 1.027 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.445e-06/0.9233, allocations: 0 / 1.027 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.003543/0.9268, allocations: 1.447 MB / 1.028 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9269, allocations: 70.52 kB / 1.028 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.9285, allocations: 1.207 MB / 1.029 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.802e-05/0.9286, allocations: 46.7 kB / 1.029 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.9292, allocations: 0.6797 MB / 1.03 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.9294, allocations: 246.8 kB / 1.03 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.9295, allocations: 14.5 kB / 1.03 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9297, allocations: 334.9 kB / 1.031 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.9302, allocations: 304.7 kB / 1.031 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.9309, allocations: 0.5254 MB / 1.031 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.9316, allocations: 380 kB / 1.032 GB, free: 11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.9316, allocations: 3.156 kB / 1.032 GB, free: 11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002257/0.9339, allocations: 1.086 MB / 1.033 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.9344, allocations: 1.069 MB / 1.034 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9344, allocations: 2.5 kB / 1.034 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007629/0.9352, allocations: 163.7 kB / 1.034 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.9359, allocations: 170 kB / 1.034 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.9371, allocations: 1.769 MB / 1.036 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9385, allocations: 173.4 kB / 1.036 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.9386, allocations: 36.67 kB / 1.036 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.9386, allocations: 2.781 kB / 1.036 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/0.9402, allocations: 0.8578 MB / 1.037 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9402, allocations: 2.031 kB / 1.037 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.9405, allocations: 101.6 kB / 1.037 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.9411, allocations: 166.2 kB / 1.037 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.9439, allocations: 3.157 MB / 1.04 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.9453, allocations: 163.2 kB / 1.04 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.9453, allocations: 28 kB / 1.041 GB, free: 3.324 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007327/0.9461, allocations: 447.3 kB / 1.041 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.9464, allocations: 150.2 kB / 1.041 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.9481, allocations: 0.959 MB / 1.042 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9481, allocations: 4 kB / 1.042 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.9481, allocations: 0 / 1.042 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/0.9496, allocations: 1.071 MB / 1.043 GB, free: 0.6133 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.004238/0.9538, allocations: 2.528 MB / 1.046 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.9538, allocations: 7.984 kB / 1.046 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/0.9546, allocations: 159.9 kB / 1.046 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.9548, allocations: 97.62 kB / 1.046 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.9549, allocations: 20 kB / 1.046 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009248/0.9558, allocations: 1.749 MB / 1.048 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9559, allocations: 0 / 1.048 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.9582, allocations: 1.625 MB / 1.049 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006298/0.9589, allocations: 331.1 kB / 1.049 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.9591, allocations: 24 kB / 1.049 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/0.9601, allocations: 112.4 kB / 1.05 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.9602, allocations: 59.06 kB / 1.05 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.9603, allocations: 27.98 kB / 1.05 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001029/0.9613, allocations: 0.8239 MB / 1.05 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9613, allocations: 0 / 1.05 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00218/0.9635, allocations: 0.8184 MB / 1.051 GB, free: 7.941 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007831/0.9643, allocations: 390.3 kB / 1.052 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002947/0.9673, allocations: 1.463 MB / 1.053 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9673, allocations: 0 / 1.053 GB, free: 6.113 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.9681, allocations: 415.4 kB / 1.053 GB, free: 5.719 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.9722, allocations: 0.772 MB / 1.054 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.9773, allocations: 3.265 MB / 1.057 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/0.9783, allocations: 1.316 MB / 1.059 GB, free: 288 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00138/0.9797, allocations: 345.4 kB / 1.059 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.98, allocations: 95.42 kB / 1.059 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.98, allocations: 0 / 1.059 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.04269/1.023, allocations: 27.72 MB / 1.086 GB, free: 4.52 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) Environment - environmentSimulation: