Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.5 MB / 267.4 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009704/0.0009705, allocations: 174.4 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008131/0.0008134, allocations: 90.06 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 12.81 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.7767/1.005, allocations: 281.5 MB / 1.172 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03643/1.041, allocations: 24.52 MB / 1.196 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005586/1.047, allocations: 103 kB / 1.196 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005262/1.052, allocations: 1.438 MB / 1.197 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/1.07, allocations: 4.864 MB / 1.202 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007385/1.077, allocations: 2.471 MB / 1.204 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01445/1.091, allocations: 9.808 MB / 1.214 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003994/1.095, allocations: 2.164 MB / 1.216 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007347/1.103, allocations: 2.925 MB / 1.219 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/1.108, allocations: 2.17 MB / 1.221 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007686/1.109, allocations: 116 kB / 1.221 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.119, allocations: 4.415 MB / 1.225 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/1.121, allocations: 0.7941 MB / 1.226 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002912/1.124, allocations: 1.426 MB / 1.228 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007718/1.132, allocations: 4.345 MB / 1.232 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.132, allocations: 0 / 1.232 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/1.132, allocations: 0 / 1.232 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001206/1.132, allocations: 4 kB / 1.232 GB, free: 0.7734 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.008541/1.141, allocations: 2.998 MB / 1.235 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.141, allocations: 12.03 kB / 1.235 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/1.146, allocations: 0.7497 MB / 1.235 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/1.151, allocations: 2.15 MB / 1.238 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/1.151, allocations: 143.7 kB / 1.238 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006102/1.152, allocations: 192 kB / 1.238 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/1.157, allocations: 2.252 MB / 1.24 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/1.157, allocations: 0 / 1.24 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/1.158, allocations: 80 kB / 1.24 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.793e-05/1.158, allocations: 75.5 kB / 1.24 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/1.162, allocations: 1.939 MB / 1.242 GB, free: 5.996 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.01533/1.177, allocations: 9.26 MB / 1.251 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/1.179, allocations: 1.078 MB / 1.252 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009968/1.18, allocations: 0.6209 MB / 1.253 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.181, allocations: 0.7283 MB / 1.254 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.181, allocations: 51.56 kB / 1.254 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/1.183, allocations: 180.8 kB / 1.254 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 1.078e-05/1.183, allocations: 0 / 1.254 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=106): time 0.01211/1.195, allocations: 4.178 MB / 1.258 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.195, allocations: 64.41 kB / 1.258 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/1.199, allocations: 2.187 MB / 1.26 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/1.2, allocations: 49.7 kB / 1.26 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.201, allocations: 1.118 MB / 1.261 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/1.201, allocations: 374.6 kB / 1.262 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.201, allocations: 117.6 kB / 1.262 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.201, allocations: 365.9 kB / 1.262 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/1.203, allocations: 0.5309 MB / 1.263 GB, free: 244 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.204, allocations: 0.9538 MB / 1.263 GB, free: 15.1 MB / 0.7917 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.215, allocations: 3.533 MB / 1.267 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.215, allocations: 4 kB / 1.267 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003951/1.219, allocations: 1.839 MB / 1.269 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000345/1.22, allocations: 412.8 kB / 1.269 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/1.22, allocations: 19.97 kB / 1.269 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/1.221, allocations: 323.6 kB / 1.269 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.222, allocations: 283.5 kB / 1.27 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/1.223, allocations: 0.9618 MB / 1.271 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.226, allocations: 180.3 kB / 1.271 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.226, allocations: 67.97 kB / 1.271 GB, free: 7.152 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.226, allocations: 4 kB / 1.271 GB, free: 7.148 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00306/1.229, allocations: 1.567 MB / 1.272 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/1.229, allocations: 12.62 kB / 1.272 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.231, allocations: 323.2 kB / 1.273 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.232, allocations: 283.5 kB / 1.273 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/1.233, allocations: 0.9587 MB / 1.274 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.235, allocations: 158.5 kB / 1.274 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.235, allocations: 75.97 kB / 1.274 GB, free: 3.766 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (147): * Single equations (assignments): 144 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001532/1.237, allocations: 0.6412 MB / 1.275 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/1.238, allocations: 248.9 kB / 1.275 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/1.241, allocations: 1.528 MB / 1.277 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.241, allocations: 12 kB / 1.277 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.241, allocations: 0 / 1.277 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/1.243, allocations: 1.097 MB / 1.278 GB, free: 196 kB / 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.007895/1.25, allocations: 4.133 MB / 1.282 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.25, allocations: 4 kB / 1.282 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008383/1.251, allocations: 183.8 kB / 1.282 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/1.253, allocations: 304.9 kB / 1.282 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/1.253, allocations: 24 kB / 1.282 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009919/1.254, allocations: 0.9276 MB / 1.283 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.254, allocations: 8 kB / 1.283 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/1.257, allocations: 2.221 MB / 1.285 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.259, allocations: 457.9 kB / 1.286 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006568/1.259, allocations: 32.05 kB / 1.286 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.261, allocations: 128.6 kB / 1.286 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.262, allocations: 84.72 kB / 1.286 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.262, allocations: 51.91 kB / 1.286 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003056/1.265, allocations: 1.504 MB / 1.287 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.305e-06/1.265, allocations: 0 / 1.287 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004449/1.269, allocations: 1.101 MB / 1.288 GB, free: 4.719 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/1.271, allocations: 493.5 kB / 1.289 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004901/1.276, allocations: 2.105 MB / 1.291 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.276, allocations: 0 / 1.291 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/1.277, allocations: 0.5791 MB / 1.292 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/1.287, allocations: 1.479 MB / 1.293 GB, free: 104 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.298, allocations: 5.092 MB / 1.298 GB, free: 10.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/1.3, allocations: 1.688 MB / 1.3 GB, free: 9.172 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009985/1.301, allocations: 207.3 kB / 1.3 GB, free: 8.969 MB / 0.823 GB Notification: Performance of SimCode: time 1.012e-06/1.301, allocations: 0 / 1.3 GB, free: 8.969 MB / 0.823 GB Notification: Performance of Templates: time 0.08063/1.381, allocations: 52.43 MB / 1.351 GB, free: 4.727 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)