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.0008942/0.0008942, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007865/0.007865, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.67/1.67, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006692/0.000669, allocations: 15.23 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3167, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.9137/1.231, allocations: 242.6 MB / 1.025 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01815/1.249, allocations: 11.84 MB / 1.036 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/1.252, allocations: 62.94 kB / 1.036 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/1.255, allocations: 0.8795 MB / 1.037 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008838/1.264, allocations: 2.979 MB / 1.04 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/1.267, allocations: 1.421 MB / 1.042 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007788/1.275, allocations: 6.298 MB / 1.048 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/1.277, allocations: 1.229 MB / 1.049 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/1.282, allocations: 1.786 MB / 1.051 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/1.285, allocations: 1.29 MB / 1.052 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/1.285, allocations: 59.81 kB / 1.052 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005361/1.291, allocations: 2.436 MB / 1.054 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007576/1.291, allocations: 444.6 kB / 1.055 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/1.293, allocations: 0.8928 MB / 1.056 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006981/1.3, allocations: 3.247 MB / 1.059 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.3, allocations: 7.938 kB / 1.059 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.194e-06/1.3, allocations: 0 / 1.059 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.218e-05/1.301, allocations: 0 / 1.059 GB, free: 6.504 MB / 0.7637 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/1.305, allocations: 1.921 MB / 1.061 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.305, allocations: 16.03 kB / 1.061 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.307, allocations: 341.5 kB / 1.061 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/1.31, allocations: 1.343 MB / 1.062 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/1.31, allocations: 90.16 kB / 1.063 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/1.31, allocations: 120 kB / 1.063 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/1.313, allocations: 1.22 MB / 1.064 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/1.313, allocations: 4 kB / 1.064 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.313, allocations: 40 kB / 1.064 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/1.313, allocations: 50.12 kB / 1.064 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.315, allocations: 0.9687 MB / 1.065 GB, free: 236 kB / 0.7637 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.008806/1.324, allocations: 5.547 MB / 1.07 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.326, allocations: 0.8836 MB / 1.071 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/1.326, allocations: 421 kB / 1.072 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/1.327, allocations: 0.6058 MB / 1.072 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.327, allocations: 43.12 kB / 1.072 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/1.327, allocations: 0 / 1.072 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.004098/1.331, allocations: 1.473 MB / 1.074 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.331, allocations: 59.97 kB / 1.074 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.333, allocations: 1.19 MB / 1.075 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.334, allocations: 49.7 kB / 1.075 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006561/1.334, allocations: 0.6771 MB / 1.076 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/1.334, allocations: 248.3 kB / 1.076 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.335, allocations: 73.67 kB / 1.076 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.335, allocations: 334 kB / 1.076 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/1.335, allocations: 309.8 kB / 1.076 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/1.336, allocations: 0.5441 MB / 1.077 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.338, allocations: 0.7575 MB / 1.078 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.338, allocations: 0 / 1.078 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002588/1.34, allocations: 1.102 MB / 1.079 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.34, allocations: 173 kB / 1.079 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.34, allocations: 4 kB / 1.079 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/1.341, allocations: 153.5 kB / 1.079 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/1.342, allocations: 187.7 kB / 1.079 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/1.343, allocations: 1.757 MB / 1.081 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.345, allocations: 167.2 kB / 1.081 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/1.345, allocations: 35.98 kB / 1.081 GB, free: 14.51 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.345, allocations: 4 kB / 1.081 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/1.347, allocations: 0.8721 MB / 1.082 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.347, allocations: 4 kB / 1.082 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/1.347, allocations: 93.81 kB / 1.082 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.348, allocations: 163.7 kB / 1.082 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.351, allocations: 3.137 MB / 1.085 GB, free: 9.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.352, allocations: 171.2 kB / 1.086 GB, free: 9.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/1.352, allocations: 31.92 kB / 1.086 GB, free: 9.746 MB / 0.795 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.0008128/1.353, allocations: 437.5 kB / 1.086 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/1.354, allocations: 146.2 kB / 1.086 GB, free: 9.164 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/1.356, allocations: 0.9694 MB / 1.087 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.356, allocations: 4 kB / 1.087 GB, free: 8.172 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.356, allocations: 0 / 1.087 GB, free: 8.172 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/1.357, allocations: 1.079 MB / 1.088 GB, free: 7 MB / 0.795 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.004669/1.362, allocations: 2.481 MB / 1.091 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.362, allocations: 0 / 1.091 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/1.363, allocations: 164.1 kB / 1.091 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/1.363, allocations: 93.62 kB / 1.091 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/1.363, allocations: 16 kB / 1.091 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/1.364, allocations: 1.741 MB / 1.093 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.364, allocations: 4 kB / 1.093 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/1.367, allocations: 1.477 MB / 1.094 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/1.368, allocations: 323.2 kB / 1.094 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/1.368, allocations: 20 kB / 1.094 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.369, allocations: 115.9 kB / 1.094 GB, free: 324 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.369, allocations: 56.36 kB / 1.094 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/1.369, allocations: 35.98 kB / 1.094 GB, free: 232 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001402/1.371, allocations: 0.8122 MB / 1.095 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/1.371, allocations: 0 / 1.095 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002648/1.373, allocations: 0.8027 MB / 1.096 GB, free: 14.61 MB / 0.8106 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.0009578/1.374, allocations: 402.8 kB / 1.096 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00312/1.378, allocations: 1.464 MB / 1.098 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.378, allocations: 4.188 kB / 1.098 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008559/1.378, allocations: 419.5 kB / 1.098 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.383, allocations: 0.7759 MB / 1.099 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/1.388, allocations: 3.359 MB / 1.102 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.389, allocations: 1.277 MB / 1.104 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001466/1.391, allocations: 352.8 kB / 1.104 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/1.391, allocations: 107.4 kB / 1.104 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of SimCode: time 7.52e-07/1.391, allocations: 0 / 1.104 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of Templates: time 0.04811/1.439, allocations: 28.19 MB / 1.132 GB, free: 10.59 MB / 0.8419 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: