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.0008685/0.0008684, allocations: 92 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.001039/0.001039, allocations: 172.7 kB / 15.95 MB, free: 208 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.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.592/1.592, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005196/0.0005196, allocations: 15.28 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.6664/0.897, allocations: 226.8 MB / 1.009 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.9127, allocations: 11.14 MB / 1.02 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.915, allocations: 61.84 kB / 1.02 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.9171, allocations: 0.7061 MB / 1.02 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.9239, allocations: 2.39 MB / 1.023 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.9272, allocations: 1.163 MB / 1.024 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006384/0.9336, allocations: 5.382 MB / 1.029 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.9355, allocations: 1.111 MB / 1.03 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.9394, allocations: 1.676 MB / 1.032 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.9416, allocations: 1.232 MB / 1.033 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.9419, allocations: 59.81 kB / 1.033 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.9455, allocations: 1.311 MB / 1.034 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.9461, allocations: 431 kB / 1.035 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.9467, allocations: 390.3 kB / 1.035 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003/0.9497, allocations: 2.309 MB / 1.037 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9497, allocations: 4 kB / 1.037 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9498, allocations: 0 / 1.037 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.564e-05/0.9498, allocations: 0 / 1.037 GB, free: 7.75 MB / 0.7481 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.003783/0.9536, allocations: 1.92 MB / 1.039 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9536, allocations: 8.781 kB / 1.039 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.9553, allocations: 359.8 kB / 1.04 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.9578, allocations: 1.283 MB / 1.041 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.9579, allocations: 87.5 kB / 1.041 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.958, allocations: 119.7 kB / 1.041 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.9601, allocations: 1.219 MB / 1.042 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.9602, allocations: 2 kB / 1.042 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.9603, allocations: 46.44 kB / 1.042 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-05/0.9603, allocations: 43.98 kB / 1.042 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.962, allocations: 0.9679 MB / 1.043 GB, free: 3.828 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 preOpt removeSimpleEquations (simulation): time 0.006657/0.9686, allocations: 5.54 MB / 1.049 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.9699, allocations: 0.8592 MB / 1.05 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.9705, allocations: 424.7 kB / 1.05 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.9711, allocations: 0.6006 MB / 1.051 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.9712, allocations: 44.53 kB / 1.051 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 4.228e-06/0.9712, allocations: 5.516 kB / 1.051 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003459/0.9746, allocations: 1.463 MB / 1.052 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9747, allocations: 59.92 kB / 1.052 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.9763, allocations: 1.19 MB / 1.053 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.9764, allocations: 41.7 kB / 1.053 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/0.977, allocations: 0.6771 MB / 1.054 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.9773, allocations: 244.4 kB / 1.054 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.9773, allocations: 16 kB / 1.054 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9775, allocations: 338 kB / 1.055 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.978, allocations: 301.8 kB / 1.055 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.9788, allocations: 0.5324 MB / 1.055 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.9795, allocations: 386.8 kB / 1.056 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9795, allocations: 7.938 kB / 1.056 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002219/0.9817, allocations: 1.071 MB / 1.057 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.9819, allocations: 163.4 kB / 1.057 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.9819, allocations: 7.938 kB / 1.057 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.9826, allocations: 141.6 kB / 1.057 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.9834, allocations: 184.9 kB / 1.057 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.9846, allocations: 1.773 MB / 1.059 GB, free: 4.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.9861, allocations: 167.1 kB / 1.059 GB, free: 4.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.9862, allocations: 35.92 kB / 1.059 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9862, allocations: 7.125 kB / 1.059 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001647/0.9878, allocations: 0.8605 MB / 1.06 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.9879, allocations: 4 kB / 1.06 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.9881, allocations: 89.81 kB / 1.06 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.9887, allocations: 159.8 kB / 1.06 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.9921, allocations: 3.151 MB / 1.063 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.994, allocations: 171.2 kB / 1.063 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.9941, allocations: 27.98 kB / 1.064 GB, free: 15.73 MB / 0.7794 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 (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.001066/0.9952, allocations: 441.5 kB / 1.064 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.9955, allocations: 138.3 kB / 1.064 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.9973, allocations: 0.9567 MB / 1.065 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.9974, allocations: 8 kB / 1.065 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.9974, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/0.9988, allocations: 1.079 MB / 1.066 GB, free: 13 MB / 0.7794 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.00401/1.003, allocations: 2.466 MB / 1.068 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.003, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/1.004, allocations: 160.1 kB / 1.069 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/1.004, allocations: 93.52 kB / 1.069 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/1.004, allocations: 20 kB / 1.069 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.005, allocations: 1.742 MB / 1.07 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.005, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.007, allocations: 1.462 MB / 1.072 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/1.008, allocations: 331 kB / 1.072 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.008, allocations: 16 kB / 1.072 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/1.009, allocations: 122.8 kB / 1.072 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.009, allocations: 52.45 kB / 1.072 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/1.009, allocations: 31.98 kB / 1.072 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00109/1.01, allocations: 0.8005 MB / 1.073 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002114/1.013, allocations: 0.8066 MB / 1.074 GB, free: 4.648 MB / 0.7794 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 (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.0007787/1.013, allocations: 380.5 kB / 1.074 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002751/1.016, allocations: 1.46 MB / 1.076 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.016, allocations: 4 kB / 1.076 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/1.017, allocations: 407.7 kB / 1.076 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.021, allocations: 0.7901 MB / 1.077 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/1.025, allocations: 3.248 MB / 1.08 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008629/1.026, allocations: 1.289 MB / 1.081 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001348/1.028, allocations: 346.4 kB / 1.082 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.028, allocations: 99.42 kB / 1.082 GB, free: 12.55 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.028, allocations: 4 kB / 1.082 GB, free: 12.55 MB / 0.795 GB Notification: Performance of Templates: time 0.04482/1.073, allocations: 27.38 MB / 1.109 GB, free: 1.551 MB / 0.8106 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: