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.001121/0.001121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001195/0.001195, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.574/1.574, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.733/1.733, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.001348/0.001348, allocations: 71.72 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2873, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8059/1.093, allocations: 250.9 MB / 1.028 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02713/1.12, allocations: 17.83 MB / 1.045 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005505/1.126, allocations: 75.28 kB / 1.045 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004304/1.13, allocations: 0.9482 MB / 1.046 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/1.143, allocations: 3.577 MB / 1.05 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005426/1.148, allocations: 1.665 MB / 1.051 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009131/1.157, allocations: 5.059 MB / 1.056 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/1.161, allocations: 1.807 MB / 1.058 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006546/1.167, allocations: 2.165 MB / 1.06 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004037/1.171, allocations: 1.619 MB / 1.062 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006079/1.172, allocations: 182.9 kB / 1.062 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/1.178, allocations: 2.618 MB / 1.065 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/1.18, allocations: 0.5897 MB / 1.065 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/1.182, allocations: 1.117 MB / 1.066 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008745/1.191, allocations: 3.775 MB / 1.07 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/1.191, allocations: 4 kB / 1.07 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.145e-06/1.191, allocations: 3.938 kB / 1.07 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.291e-05/1.191, allocations: 4 kB / 1.07 GB, free: 13.39 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.005314/1.196, allocations: 2.475 MB / 1.072 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.196, allocations: 12.03 kB / 1.072 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.198, allocations: 377.1 kB / 1.073 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.2, allocations: 1.41 MB / 1.074 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/1.201, allocations: 110.7 kB / 1.074 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/1.201, allocations: 139.9 kB / 1.074 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/1.203, allocations: 1.503 MB / 1.076 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.203, allocations: 3.938 kB / 1.076 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.203, allocations: 56 kB / 1.076 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/1.203, allocations: 58.62 kB / 1.076 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/1.205, allocations: 1.138 MB / 1.077 GB, free: 5.938 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.008317/1.214, allocations: 7.186 MB / 1.084 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.215, allocations: 0.8232 MB / 1.085 GB, free: 13.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/1.216, allocations: 441.7 kB / 1.085 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/1.216, allocations: 0.7123 MB / 1.086 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.216, allocations: 39.22 kB / 1.086 GB, free: 11.99 MB / 0.795 GB Notification: Performance of pre-optimization done (n=74): time 2.815e-06/1.216, allocations: 0 / 1.086 GB, free: 11.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=74): time 0.006497/1.223, allocations: 2.075 MB / 1.088 GB, free: 9.844 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.223, allocations: 64.06 kB / 1.088 GB, free: 9.77 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.225, allocations: 1.305 MB / 1.089 GB, free: 8.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.225, allocations: 45.7 kB / 1.089 GB, free: 8.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/1.226, allocations: 0.7977 MB / 1.09 GB, free: 7.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/1.226, allocations: 256.3 kB / 1.09 GB, free: 7.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.226, allocations: 174.5 kB / 1.091 GB, free: 7.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.226, allocations: 337.9 kB / 1.091 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/1.227, allocations: 333.9 kB / 1.091 GB, free: 6.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007495/1.228, allocations: 0.5674 MB / 1.092 GB, free: 5.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.229, allocations: 0.8712 MB / 1.093 GB, free: 4.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.229, allocations: 0 / 1.093 GB, free: 4.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002627/1.232, allocations: 1.267 MB / 1.094 GB, free: 3.617 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.232, allocations: 8 kB / 1.094 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.232, allocations: 4.406 kB / 1.094 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/1.234, allocations: 418 kB / 1.094 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/1.234, allocations: 147.8 kB / 1.094 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/1.236, allocations: 2.056 MB / 1.096 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.237, allocations: 183 kB / 1.097 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/1.237, allocations: 36 kB / 1.097 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/1.239, allocations: 0.6424 MB / 1.097 GB, free: 52 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007543/1.239, allocations: 0.5551 MB / 1.098 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/1.241, allocations: 0.8595 MB / 1.099 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/1.241, allocations: 0 / 1.099 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002272/1.243, allocations: 1.201 MB / 1.1 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.243, allocations: 8 kB / 1.1 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.243, allocations: 7.984 kB / 1.1 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.245, allocations: 356.8 kB / 1.1 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/1.245, allocations: 155.8 kB / 1.1 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/1.249, allocations: 4.203 MB / 1.104 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.25, allocations: 160.1 kB / 1.105 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/1.25, allocations: 39.98 kB / 1.105 GB, free: 8.043 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.0003186/1.251, allocations: 233.8 kB / 1.105 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/1.251, allocations: 154.1 kB / 1.105 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/1.254, allocations: 1.202 MB / 1.106 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.254, allocations: 8 kB / 1.106 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.254, allocations: 0 / 1.106 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002283/1.256, allocations: 1.279 MB / 1.107 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/1.261, allocations: 2.746 MB / 1.11 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.261, allocations: 4 kB / 1.11 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/1.262, allocations: 99.88 kB / 1.11 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.263, allocations: 353.2 kB / 1.111 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/1.263, allocations: 23.98 kB / 1.111 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/1.265, allocations: 2.032 MB / 1.113 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.265, allocations: 4 kB / 1.113 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/1.267, allocations: 1.21 MB / 1.114 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/1.268, allocations: 323 kB / 1.114 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.268, allocations: 27.94 kB / 1.114 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.269, allocations: 115.7 kB / 1.114 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.269, allocations: 48.48 kB / 1.114 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/1.269, allocations: 35.92 kB / 1.114 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001244/1.271, allocations: 0.8817 MB / 1.115 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/1.271, allocations: 0 / 1.115 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002565/1.273, allocations: 0.8999 MB / 1.116 GB, free: 12.01 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.0009627/1.274, allocations: 384.1 kB / 1.116 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003722/1.278, allocations: 1.716 MB / 1.118 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.278, allocations: 0 / 1.118 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.279, allocations: 473.9 kB / 1.118 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/1.283, allocations: 0.7993 MB / 1.119 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/1.288, allocations: 3.317 MB / 1.122 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/1.289, allocations: 1.34 MB / 1.124 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001524/1.29, allocations: 315.7 kB / 1.124 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/1.291, allocations: 95.42 kB / 1.124 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of SimCode: time 1.252e-06/1.291, allocations: 4 kB / 1.124 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.05403/1.345, allocations: 32.25 MB / 1.156 GB, free: 3.691 MB / 0.8575 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)