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.001139/0.001139, allocations: 106.9 kB / 15.99 MB, free: 6.359 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.001112/0.001112, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.442/1.442, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.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.76/1.76, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001406/0.001406, allocations: 69.42 kB / 0.6717 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2795, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.801/1.081, allocations: 250.9 MB / 1.029 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.108, allocations: 17.84 MB / 1.046 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005126/1.113, allocations: 75.81 kB / 1.046 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/1.117, allocations: 0.9518 MB / 1.047 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/1.129, allocations: 3.579 MB / 1.05 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005628/1.135, allocations: 1.662 MB / 1.052 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008729/1.144, allocations: 5.058 MB / 1.057 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/1.147, allocations: 1.803 MB / 1.059 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006557/1.154, allocations: 2.176 MB / 1.061 GB, free: 4.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004182/1.158, allocations: 1.601 MB / 1.062 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006189/1.159, allocations: 183.1 kB / 1.063 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/1.166, allocations: 2.619 MB / 1.065 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.167, allocations: 0.5943 MB / 1.066 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/1.169, allocations: 1.116 MB / 1.067 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004969/1.174, allocations: 2.806 MB / 1.07 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.174, allocations: 3.844 kB / 1.07 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/1.174, allocations: 0 / 1.07 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.904e-05/1.174, allocations: 0 / 1.07 GB, free: 14.38 MB / 0.7794 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.004976/1.179, allocations: 2.475 MB / 1.072 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.179, allocations: 8.031 kB / 1.072 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/1.181, allocations: 381 kB / 1.072 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/1.184, allocations: 1.41 MB / 1.074 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.184, allocations: 108.2 kB / 1.074 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/1.184, allocations: 147.9 kB / 1.074 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/1.187, allocations: 1.499 MB / 1.075 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.187, allocations: 7.938 kB / 1.075 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/1.187, allocations: 56 kB / 1.076 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/1.188, allocations: 54.64 kB / 1.076 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/1.19, allocations: 1.138 MB / 1.077 GB, free: 6.926 MB / 0.7794 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.009198/1.199, allocations: 7.184 MB / 1.084 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.2, allocations: 0.8248 MB / 1.085 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/1.201, allocations: 445.7 kB / 1.085 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009181/1.202, allocations: 0.7123 MB / 1.086 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.202, allocations: 43.22 kB / 1.086 GB, free: 12.97 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 3.657e-06/1.202, allocations: 4 kB / 1.086 GB, free: 12.97 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.006749/1.209, allocations: 2.069 MB / 1.088 GB, free: 10.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.209, allocations: 64.05 kB / 1.088 GB, free: 10.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/1.211, allocations: 1.301 MB / 1.089 GB, free: 9.441 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/1.211, allocations: 41.7 kB / 1.089 GB, free: 9.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/1.211, allocations: 0.7977 MB / 1.09 GB, free: 8.586 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.212, allocations: 256.3 kB / 1.09 GB, free: 8.332 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.212, allocations: 170.5 kB / 1.09 GB, free: 8.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.212, allocations: 345.9 kB / 1.091 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/1.213, allocations: 328.7 kB / 1.091 GB, free: 7.488 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/1.214, allocations: 0.5751 MB / 1.091 GB, free: 6.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/1.215, allocations: 0.8673 MB / 1.092 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.215, allocations: 4 kB / 1.092 GB, free: 5.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002923/1.218, allocations: 1.275 MB / 1.094 GB, free: 4.594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.218, allocations: 11.92 kB / 1.094 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.218, allocations: 8 kB / 1.094 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/1.22, allocations: 406.3 kB / 1.094 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/1.221, allocations: 155.7 kB / 1.094 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.223, allocations: 2.046 MB / 1.096 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.225, allocations: 179.7 kB / 1.096 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.225, allocations: 39.98 kB / 1.096 GB, free: 1.684 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001404/1.226, allocations: 0.6385 MB / 1.097 GB, free: 1.043 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008498/1.227, allocations: 0.5551 MB / 1.097 GB, free: 400 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/1.228, allocations: 0.8556 MB / 1.098 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/1.228, allocations: 0 / 1.098 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002455/1.231, allocations: 1.209 MB / 1.1 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.231, allocations: 8 kB / 1.1 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.231, allocations: 4 kB / 1.1 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/1.233, allocations: 364.8 kB / 1.1 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/1.233, allocations: 147.8 kB / 1.1 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/1.237, allocations: 4.204 MB / 1.104 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.239, allocations: 155.4 kB / 1.104 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/1.239, allocations: 51.84 kB / 1.104 GB, free: 9.023 MB / 0.8106 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.0003349/1.239, allocations: 236 kB / 1.105 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/1.24, allocations: 154.1 kB / 1.105 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/1.243, allocations: 1.182 MB / 1.106 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/1.243, allocations: 8 kB / 1.106 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.243, allocations: 0 / 1.106 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002474/1.246, allocations: 1.279 MB / 1.107 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/1.251, allocations: 2.754 MB / 1.11 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.251, allocations: 4.281 kB / 1.11 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/1.252, allocations: 99.88 kB / 1.11 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/1.253, allocations: 368.9 kB / 1.11 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.254, allocations: 20 kB / 1.11 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/1.256, allocations: 2.028 MB / 1.112 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.256, allocations: 7.938 kB / 1.112 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.258, allocations: 1.202 MB / 1.113 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/1.259, allocations: 330.9 kB / 1.114 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/1.259, allocations: 19.98 kB / 1.114 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.261, allocations: 111.7 kB / 1.114 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.261, allocations: 44.5 kB / 1.114 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/1.261, allocations: 39.98 kB / 1.114 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001629/1.262, allocations: 0.8855 MB / 1.115 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.262, allocations: 0 / 1.115 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003696/1.266, allocations: 0.8999 MB / 1.116 GB, free: 13 MB / 0.8262 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.001182/1.267, allocations: 374.1 kB / 1.116 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004161/1.272, allocations: 1.715 MB / 1.118 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.272, allocations: 3.938 kB / 1.118 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.273, allocations: 478.7 kB / 1.118 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/1.277, allocations: 0.7941 MB / 1.119 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/1.283, allocations: 3.383 MB / 1.122 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.284, allocations: 1.336 MB / 1.124 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.285, allocations: 103.4 kB / 1.124 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/1.285, allocations: 0 / 1.124 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.07377/1.359, allocations: 47.66 MB / 1.17 GB, free: 5.254 MB / 0.8731 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)