Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.802/2.802, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 170.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008857, allocations: 91.72 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005069, allocations: 13.81 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 1.025/1.239, allocations: 226.8 MB / 1.2 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02535/1.264, allocations: 11.16 MB / 1.211 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/1.267, allocations: 63.22 kB / 1.211 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003874/1.271, allocations: 0.7057 MB / 1.211 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/1.282, allocations: 2.385 MB / 1.214 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/1.288, allocations: 1.166 MB / 1.215 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009941/1.298, allocations: 5.373 MB / 1.22 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/1.301, allocations: 1.122 MB / 1.221 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005735/1.307, allocations: 1.664 MB / 1.223 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/1.31, allocations: 1.231 MB / 1.224 GB, free: 352 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005575/1.311, allocations: 60 kB / 1.224 GB, free: 292 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006356/1.317, allocations: 1.306 MB / 1.225 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/1.318, allocations: 438.3 kB / 1.226 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.319, allocations: 392.8 kB / 1.226 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00564/1.325, allocations: 2.303 MB / 1.228 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.325, allocations: 4 kB / 1.228 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.005e-06/1.325, allocations: 0 / 1.228 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.782e-05/1.325, allocations: 0 / 1.228 GB, free: 11.84 MB / 0.7605 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.006287/1.332, allocations: 1.917 MB / 1.23 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.332, allocations: 8.031 kB / 1.23 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/1.334, allocations: 361.4 kB / 1.231 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/1.338, allocations: 1.289 MB / 1.232 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.338, allocations: 86.16 kB / 1.232 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/1.339, allocations: 124 kB / 1.232 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.342, allocations: 1.216 MB / 1.233 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/1.343, allocations: 0 / 1.233 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.343, allocations: 44 kB / 1.233 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.658e-05/1.343, allocations: 50.08 kB / 1.233 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/1.346, allocations: 0.9648 MB / 1.234 GB, free: 5.625 MB / 0.7605 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.0119/1.358, allocations: 5.533 MB / 1.24 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/1.361, allocations: 0.8763 MB / 1.241 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/1.362, allocations: 417 kB / 1.241 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008693/1.363, allocations: 0.6019 MB / 1.242 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.363, allocations: 43.12 kB / 1.242 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 4.097e-06/1.363, allocations: 4 kB / 1.242 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.00645/1.369, allocations: 1.466 MB / 1.243 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.369, allocations: 59.91 kB / 1.243 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/1.372, allocations: 1.186 MB / 1.244 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/1.372, allocations: 45.7 kB / 1.244 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/1.373, allocations: 0.6771 MB / 1.245 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/1.374, allocations: 248.4 kB / 1.245 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/1.374, allocations: 16 kB / 1.245 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.374, allocations: 345.9 kB / 1.246 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.375, allocations: 293.8 kB / 1.246 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.376, allocations: 0.5349 MB / 1.246 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.378, allocations: 378.8 kB / 1.247 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/1.378, allocations: 0 / 1.247 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004118/1.382, allocations: 1.075 MB / 1.248 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.382, allocations: 167.4 kB / 1.248 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.382, allocations: 3.984 kB / 1.248 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.383, allocations: 145.6 kB / 1.248 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/1.385, allocations: 183.8 kB / 1.248 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.387, allocations: 1.773 MB / 1.25 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.389, allocations: 171.1 kB / 1.25 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.39, allocations: 32 kB / 1.25 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.39, allocations: 4 kB / 1.25 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003006/1.393, allocations: 0.8605 MB / 1.251 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.393, allocations: 4 kB / 1.251 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/1.393, allocations: 97.8 kB / 1.251 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.395, allocations: 155.8 kB / 1.251 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/1.399, allocations: 3.141 MB / 1.254 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.401, allocations: 180.6 kB / 1.255 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.402, allocations: 24 kB / 1.255 GB, free: 15.73 MB / 0.7917 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.001104/1.403, allocations: 443.1 kB / 1.255 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/1.403, allocations: 138.3 kB / 1.255 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/1.406, allocations: 0.9573 MB / 1.256 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.406, allocations: 8 kB / 1.256 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.406, allocations: 0 / 1.256 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002756/1.409, allocations: 1.075 MB / 1.257 GB, free: 13 MB / 0.7917 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.007373/1.417, allocations: 2.473 MB / 1.26 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.417, allocations: 4 kB / 1.26 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.418, allocations: 164.1 kB / 1.26 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/1.419, allocations: 93.58 kB / 1.26 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.613e-05/1.419, allocations: 23.95 kB / 1.26 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.42, allocations: 1.738 MB / 1.262 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.42, allocations: 7.938 kB / 1.262 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/1.424, allocations: 1.458 MB / 1.263 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.426, allocations: 323.1 kB / 1.263 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/1.426, allocations: 19.98 kB / 1.263 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.428, allocations: 121.2 kB / 1.263 GB, free: 6.328 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.428, allocations: 48.5 kB / 1.263 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.428, allocations: 31.98 kB / 1.263 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001895/1.43, allocations: 0.8044 MB / 1.264 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.398e-06/1.43, allocations: 0 / 1.264 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003464/1.434, allocations: 0.8143 MB / 1.265 GB, free: 4.625 MB / 0.7917 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.001124/1.435, allocations: 372 kB / 1.265 GB, free: 4.266 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004892/1.44, allocations: 1.464 MB / 1.267 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.44, allocations: 0 / 1.267 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.441, allocations: 407.8 kB / 1.267 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007312/1.449, allocations: 0.7908 MB / 1.268 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/1.456, allocations: 3.265 MB / 1.271 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.458, allocations: 1.277 MB / 1.272 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002424/1.46, allocations: 347.9 kB / 1.273 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/1.461, allocations: 103.4 kB / 1.273 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/1.461, allocations: 4 kB / 1.273 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.08012/1.541, allocations: 27.38 MB / 1.3 GB, free: 1.418 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)