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.001423/0.001423, allocations: 105.3 kB / 16.29 MB, free: 6.027 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.001502/0.001502, allocations: 188.8 kB / 17.22 MB, free: 5.633 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.69/1.69, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.921/1.921, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001465/0.001465, allocations: 71.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.243, allocations: 114.6 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7112/0.9543, allocations: 253.9 MB / 1.032 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.9798, allocations: 17.98 MB / 1.05 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.9831, allocations: 75.56 kB / 1.05 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.9866, allocations: 1.083 MB / 1.051 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.9977, allocations: 3.831 MB / 1.054 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/1.003, allocations: 1.815 MB / 1.056 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007632/1.011, allocations: 5.055 MB / 1.061 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/1.014, allocations: 1.828 MB / 1.063 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0054/1.02, allocations: 2.167 MB / 1.065 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/1.023, allocations: 1.526 MB / 1.067 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007806/1.024, allocations: 184 kB / 1.067 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006086/1.03, allocations: 2.53 MB / 1.069 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.031, allocations: 0.5919 MB / 1.07 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/1.033, allocations: 1.112 MB / 1.071 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/1.04, allocations: 3.7 MB / 1.075 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.04, allocations: 4 kB / 1.075 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/1.04, allocations: 4 kB / 1.075 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001172/1.04, allocations: 0 / 1.075 GB, free: 0.7891 MB / 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.005531/1.046, allocations: 2.474 MB / 1.077 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.046, allocations: 12.03 kB / 1.077 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/1.048, allocations: 377.1 kB / 1.077 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/1.05, allocations: 1.39 MB / 1.079 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/1.051, allocations: 110.7 kB / 1.079 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/1.051, allocations: 139.9 kB / 1.079 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/1.054, allocations: 1.51 MB / 1.08 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/1.054, allocations: 0 / 1.08 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/1.054, allocations: 56 kB / 1.08 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/1.054, allocations: 54.62 kB / 1.08 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/1.056, allocations: 1.142 MB / 1.082 GB, free: 9.352 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.008992/1.065, allocations: 7.184 MB / 1.089 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.067, allocations: 0.8249 MB / 1.089 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/1.067, allocations: 438.6 kB / 1.09 GB, free: 320 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009407/1.068, allocations: 0.7201 MB / 1.091 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/1.068, allocations: 47.16 kB / 1.091 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=74): time 4.118e-06/1.068, allocations: 0 / 1.091 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74): time 0.006482/1.075, allocations: 2.065 MB / 1.093 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.075, allocations: 72.05 kB / 1.093 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/1.077, allocations: 1.313 MB / 1.094 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.077, allocations: 41.7 kB / 1.094 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/1.078, allocations: 0.7938 MB / 1.095 GB, free: 11 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/1.078, allocations: 260.2 kB / 1.095 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/1.079, allocations: 178.5 kB / 1.095 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.079, allocations: 334 kB / 1.096 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/1.08, allocations: 336.7 kB / 1.096 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/1.08, allocations: 0.5591 MB / 1.096 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/1.082, allocations: 0.8673 MB / 1.097 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.082, allocations: 4 kB / 1.097 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002738/1.084, allocations: 1.262 MB / 1.098 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/1.085, allocations: 10.03 kB / 1.098 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.085, allocations: 4 kB / 1.098 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/1.086, allocations: 422.2 kB / 1.099 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/1.087, allocations: 155 kB / 1.099 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/1.089, allocations: 2.052 MB / 1.101 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.09, allocations: 107 kB / 1.101 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/1.09, allocations: 39.98 kB / 1.101 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/1.091, allocations: 0.6309 MB / 1.102 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007599/1.092, allocations: 0.5591 MB / 1.102 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/1.093, allocations: 0.8517 MB / 1.103 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/1.093, allocations: 3.984 kB / 1.103 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002362/1.096, allocations: 1.209 MB / 1.104 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.096, allocations: 8 kB / 1.104 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.096, allocations: 4 kB / 1.104 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/1.097, allocations: 362.5 kB / 1.105 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/1.098, allocations: 155.7 kB / 1.105 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/1.101, allocations: 4.205 MB / 1.109 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.102, allocations: 87.89 kB / 1.109 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/1.103, allocations: 38.03 kB / 1.109 GB, free: 11.61 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.0003299/1.103, allocations: 237.2 kB / 1.109 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/1.103, allocations: 154.1 kB / 1.109 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/1.106, allocations: 1.187 MB / 1.111 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.106, allocations: 8 kB / 1.111 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.106, allocations: 4 kB / 1.111 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/1.108, allocations: 1.278 MB / 1.112 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/1.113, allocations: 2.753 MB / 1.115 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.113, allocations: 4 kB / 1.115 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/1.114, allocations: 95.88 kB / 1.115 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/1.115, allocations: 358.4 kB / 1.115 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/1.115, allocations: 22.61 kB / 1.115 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.117, allocations: 2.035 MB / 1.117 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.117, allocations: 4.188 kB / 1.117 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/1.119, allocations: 1.21 MB / 1.118 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/1.119, allocations: 331 kB / 1.119 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/1.12, allocations: 12 kB / 1.119 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/1.12, allocations: 43.95 kB / 1.119 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.121, allocations: 52.44 kB / 1.119 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/1.121, allocations: 31.92 kB / 1.119 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001243/1.122, allocations: 0.8973 MB / 1.12 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.51e-07/1.122, allocations: 0 / 1.12 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002244/1.124, allocations: 0.8804 MB / 1.12 GB, free: 15.69 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.0009509/1.125, allocations: 382.8 kB / 1.121 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.129, allocations: 1.663 MB / 1.122 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.129, allocations: 3.938 kB / 1.122 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.13, allocations: 478.7 kB / 1.123 GB, free: 13.17 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.133, allocations: 0.793 MB / 1.124 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/1.138, allocations: 2.63 MB / 1.126 GB, free: 9.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.14, allocations: 1.34 MB / 1.127 GB, free: 8.379 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001492/1.141, allocations: 329.6 kB / 1.128 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/1.142, allocations: 95.42 kB / 1.128 GB, free: 7.973 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/1.142, allocations: 0 / 1.128 GB, free: 7.973 MB / 0.92 GB Notification: Performance of Templates: time 0.4552/1.597, allocations: 32.59 MB / 1.16 GB, free: 303 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)