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.363/1.363, allocations: 252 MB / 268 MB, free: 10.88 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.001079/0.001079, allocations: 180.3 kB / 327.6 MB, free: 2.094 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.791/1.791, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008672/0.0008671, allocations: 88.94 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12.91 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.752/0.9806, allocations: 278.1 MB / 1.173 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0366/1.017, allocations: 24.25 MB / 1.197 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006319/1.024, allocations: 95.53 kB / 1.197 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/1.03, allocations: 1.445 MB / 1.198 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01842/1.048, allocations: 4.856 MB / 1.203 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008161/1.056, allocations: 2.488 MB / 1.205 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01422/1.07, allocations: 9.773 MB / 1.215 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/1.075, allocations: 2.208 MB / 1.217 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/1.083, allocations: 2.929 MB / 1.22 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/1.089, allocations: 2.173 MB / 1.222 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008669/1.09, allocations: 108 kB / 1.222 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/1.101, allocations: 4.404 MB / 1.226 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001981/1.103, allocations: 0.798 MB / 1.227 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003151/1.106, allocations: 1.455 MB / 1.229 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008372/1.114, allocations: 4.341 MB / 1.233 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.114, allocations: 0 / 1.233 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.394e-06/1.114, allocations: 0 / 1.233 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001474/1.114, allocations: 0 / 1.233 GB, free: 14.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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.009135/1.124, allocations: 3.01 MB / 1.236 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.124, allocations: 8.031 kB / 1.236 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/1.13, allocations: 0.7497 MB / 1.237 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007109/1.137, allocations: 2.144 MB / 1.239 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/1.137, allocations: 147.6 kB / 1.239 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000604/1.138, allocations: 192 kB / 1.239 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008317/1.146, allocations: 2.244 MB / 1.241 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/1.146, allocations: 4 kB / 1.241 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/1.146, allocations: 83.98 kB / 1.241 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/1.147, allocations: 75.52 kB / 1.241 GB, free: 6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006497/1.153, allocations: 1.938 MB / 1.243 GB, free: 4.059 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.02279/1.176, allocations: 9.256 MB / 1.252 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.179, allocations: 1.078 MB / 1.253 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/1.181, allocations: 0.6169 MB / 1.254 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.182, allocations: 0.7361 MB / 1.255 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/1.182, allocations: 47.55 kB / 1.255 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002132/1.185, allocations: 180.8 kB / 1.255 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=104): time 8.095e-06/1.185, allocations: 0 / 1.255 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=106): time 0.01916/1.204, allocations: 4.167 MB / 1.259 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.204, allocations: 68.41 kB / 1.259 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/1.209, allocations: 2.183 MB / 1.261 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/1.21, allocations: 53.7 kB / 1.261 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/1.211, allocations: 1.13 MB / 1.262 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007326/1.212, allocations: 370.6 kB / 1.263 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.212, allocations: 24 kB / 1.263 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.212, allocations: 365.8 kB / 1.263 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/1.214, allocations: 0.527 MB / 1.264 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.216, allocations: 0.9577 MB / 1.264 GB, free: 13.27 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.01549/1.231, allocations: 3.537 MB / 1.268 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.232, allocations: 8 kB / 1.268 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003663/1.235, allocations: 1.843 MB / 1.27 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003266/1.236, allocations: 418.2 kB / 1.27 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/1.236, allocations: 16 kB / 1.27 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/1.237, allocations: 324.5 kB / 1.27 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.238, allocations: 283.5 kB / 1.271 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/1.239, allocations: 0.9619 MB / 1.272 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.242, allocations: 171.4 kB / 1.272 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.242, allocations: 67.98 kB / 1.272 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.242, allocations: 4 kB / 1.272 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002885/1.245, allocations: 1.57 MB / 1.273 GB, free: 3.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.245, allocations: 8 kB / 1.273 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.246, allocations: 328.9 kB / 1.274 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.248, allocations: 275.6 kB / 1.274 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/1.249, allocations: 0.9587 MB / 1.275 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/1.251, allocations: 172.2 kB / 1.275 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.251, allocations: 67.98 kB / 1.275 GB, free: 1.922 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.001427/1.253, allocations: 0.649 MB / 1.276 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/1.253, allocations: 244.9 kB / 1.276 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/1.256, allocations: 1.53 MB / 1.278 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.256, allocations: 8 kB / 1.278 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.256, allocations: 8 kB / 1.278 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/1.258, allocations: 1.105 MB / 1.279 GB, free: 14.34 MB / 0.8073 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.007862/1.266, allocations: 4.125 MB / 1.283 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.266, allocations: 4 kB / 1.283 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/1.267, allocations: 179.9 kB / 1.283 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.268, allocations: 299.8 kB / 1.283 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/1.268, allocations: 43.86 kB / 1.283 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009489/1.269, allocations: 0.9036 MB / 1.284 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.269, allocations: 8 kB / 1.284 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/1.273, allocations: 2.229 MB / 1.286 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.274, allocations: 465.9 kB / 1.287 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/1.275, allocations: 31.98 kB / 1.287 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.276, allocations: 134.8 kB / 1.287 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.277, allocations: 88.73 kB / 1.287 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.277, allocations: 47.97 kB / 1.287 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002541/1.279, allocations: 1.507 MB / 1.288 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.51e-07/1.279, allocations: 0 / 1.288 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00368/1.283, allocations: 1.094 MB / 1.289 GB, free: 2.867 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.001218/1.284, allocations: 497.5 kB / 1.29 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004556/1.289, allocations: 2.101 MB / 1.292 GB, free: 296 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.289, allocations: 0 / 1.292 GB, free: 296 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.29, allocations: 0.5845 MB / 1.293 GB, free: 15.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/1.3, allocations: 1.48 MB / 1.294 GB, free: 14.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.31, allocations: 5.164 MB / 1.299 GB, free: 8.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.312, allocations: 1.676 MB / 1.301 GB, free: 7.246 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009141/1.313, allocations: 207.3 kB / 1.301 GB, free: 7.043 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/1.313, allocations: 0 / 1.301 GB, free: 7.043 MB / 0.823 GB Notification: Performance of Templates: time 0.07908/1.392, allocations: 52.42 MB / 1.352 GB, free: 2.809 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)