Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 108.9 kB / 16.36 MB, free: 6.414 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.001327/0.001327, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.779/1.779, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001414/0.001414, allocations: 75.88 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2286, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7245/0.9532, allocations: 253.9 MB / 1.033 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02429/0.9775, allocations: 17.97 MB / 1.05 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.9809, allocations: 79.5 kB / 1.05 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.9841, allocations: 1.087 MB / 1.051 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009812/0.9939, allocations: 3.821 MB / 1.055 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.9989, allocations: 1.831 MB / 1.057 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007505/1.006, allocations: 5.037 MB / 1.062 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/1.009, allocations: 1.836 MB / 1.064 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005446/1.015, allocations: 2.17 MB / 1.066 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/1.018, allocations: 1.516 MB / 1.067 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/1.018, allocations: 184 kB / 1.067 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/1.024, allocations: 2.534 MB / 1.07 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008203/1.025, allocations: 0.5958 MB / 1.071 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/1.027, allocations: 1.112 MB / 1.072 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005791/1.033, allocations: 3.704 MB / 1.075 GB, free: 272 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.033, allocations: 0 / 1.075 GB, free: 272 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/1.033, allocations: 0 / 1.075 GB, free: 272 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.982e-05/1.033, allocations: 0 / 1.075 GB, free: 272 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004184/1.037, allocations: 2.474 MB / 1.078 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.037, allocations: 12.03 kB / 1.078 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.039, allocations: 377.1 kB / 1.078 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/1.041, allocations: 1.396 MB / 1.079 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/1.041, allocations: 110.6 kB / 1.079 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.041, allocations: 140 kB / 1.08 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/1.043, allocations: 1.507 MB / 1.081 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/1.043, allocations: 3.938 kB / 1.081 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.044, allocations: 60 kB / 1.081 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/1.044, allocations: 58.58 kB / 1.081 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/1.046, allocations: 1.138 MB / 1.082 GB, free: 8.82 MB / 0.8731 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.007541/1.053, allocations: 7.182 MB / 1.089 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/1.054, allocations: 0.821 MB / 1.09 GB, free: 224 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/1.055, allocations: 438.6 kB / 1.091 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/1.056, allocations: 0.7162 MB / 1.091 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.056, allocations: 43.22 kB / 1.091 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=74): time 3.456e-06/1.056, allocations: 0 / 1.091 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74): time 0.006842/1.063, allocations: 2.074 MB / 1.093 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.063, allocations: 60.06 kB / 1.093 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.065, allocations: 1.313 MB / 1.095 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/1.065, allocations: 45.7 kB / 1.095 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/1.065, allocations: 0.7977 MB / 1.095 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.066, allocations: 256.2 kB / 1.096 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/1.066, allocations: 170.5 kB / 1.096 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.066, allocations: 345.9 kB / 1.096 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/1.067, allocations: 328.7 kB / 1.097 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/1.067, allocations: 0.563 MB / 1.097 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.069, allocations: 0.8751 MB / 1.098 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.069, allocations: 0 / 1.098 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00257/1.071, allocations: 1.258 MB / 1.099 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.071, allocations: 16 kB / 1.099 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.071, allocations: 4.5 kB / 1.099 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/1.073, allocations: 407.4 kB / 1.1 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/1.074, allocations: 155.7 kB / 1.1 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/1.076, allocations: 2.054 MB / 1.102 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.077, allocations: 107 kB / 1.102 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/1.077, allocations: 44.17 kB / 1.102 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/1.078, allocations: 0.6357 MB / 1.102 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007661/1.079, allocations: 0.5591 MB / 1.103 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001303/1.08, allocations: 0.8556 MB / 1.104 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.08, allocations: 0 / 1.104 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002303/1.082, allocations: 1.212 MB / 1.105 GB, free: 236 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.082, allocations: 8 kB / 1.105 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.082, allocations: 4 kB / 1.105 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/1.084, allocations: 358.5 kB / 1.105 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/1.084, allocations: 151.8 kB / 1.106 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/1.088, allocations: 4.203 MB / 1.11 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.09, allocations: 94.5 kB / 1.11 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/1.09, allocations: 33.25 kB / 1.11 GB, free: 11.1 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/1.09, allocations: 241.2 kB / 1.11 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/1.09, allocations: 154.1 kB / 1.11 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/1.093, allocations: 1.191 MB / 1.111 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.093, allocations: 8 kB / 1.111 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.093, allocations: 0 / 1.111 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00254/1.096, allocations: 1.286 MB / 1.113 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005968/1.102, allocations: 2.753 MB / 1.115 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.102, allocations: 288 / 1.115 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/1.103, allocations: 95.89 kB / 1.115 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/1.104, allocations: 373.6 kB / 1.116 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/1.104, allocations: 16 kB / 1.116 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.106, allocations: 2.032 MB / 1.118 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.106, allocations: 3.938 kB / 1.118 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/1.108, allocations: 1.207 MB / 1.119 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/1.108, allocations: 335 kB / 1.119 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.109, allocations: 12 kB / 1.119 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/1.11, allocations: 45.58 kB / 1.119 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.11, allocations: 56.44 kB / 1.119 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/1.11, allocations: 27.98 kB / 1.119 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001192/1.111, allocations: 0.8895 MB / 1.12 GB, free: 48 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.111, allocations: 0 / 1.12 GB, free: 48 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002162/1.113, allocations: 0.8842 MB / 1.121 GB, free: 15.16 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/1.114, allocations: 379.4 kB / 1.121 GB, free: 14.79 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003378/1.117, allocations: 1.659 MB / 1.123 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.117, allocations: 0 / 1.123 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/1.118, allocations: 478.7 kB / 1.124 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.122, allocations: 0.7917 MB / 1.124 GB, free: 11.92 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/1.125, allocations: 2.623 MB / 1.127 GB, free: 9.234 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/1.126, allocations: 1.348 MB / 1.128 GB, free: 7.855 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001064/1.127, allocations: 330.7 kB / 1.129 GB, free: 7.543 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.127, allocations: 95.44 kB / 1.129 GB, free: 7.449 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/1.127, allocations: 0 / 1.129 GB, free: 7.449 MB / 0.92 GB Notification: Performance of Templates: time 0.4132/1.541, allocations: 32.61 MB / 1.16 GB, free: 302.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)