Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01033/0.01033, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001831/0.001831, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.695/1.695, allocations: 251.7 MB / 0.5094 GB, free: 2.988 MB / 414.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.001439/0.001439, allocations: 67.89 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2421, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8794/1.122, allocations: 254.3 MB / 1.076 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02657/1.148, allocations: 18.04 MB / 1.094 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003927/1.152, allocations: 79.56 kB / 1.094 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003445/1.156, allocations: 1.126 MB / 1.095 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.168, allocations: 3.991 MB / 1.099 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006661/1.175, allocations: 1.832 MB / 1.101 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008541/1.183, allocations: 5.124 MB / 1.106 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/1.186, allocations: 1.852 MB / 1.108 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005856/1.192, allocations: 2.243 MB / 1.11 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/1.196, allocations: 1.539 MB / 1.111 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005091/1.196, allocations: 188 kB / 1.112 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005678/1.202, allocations: 2.542 MB / 1.114 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007214/1.202, allocations: 0.5958 MB / 1.115 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/1.204, allocations: 1.116 MB / 1.116 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/1.212, allocations: 3.731 MB / 1.119 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/1.212, allocations: 0 / 1.119 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/1.212, allocations: 0 / 1.119 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001343/1.212, allocations: 0 / 1.119 GB, free: 2.094 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.006048/1.218, allocations: 2.491 MB / 1.122 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.218, allocations: 8.031 kB / 1.122 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/1.22, allocations: 381.2 kB / 1.122 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/1.222, allocations: 1.468 MB / 1.124 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/1.222, allocations: 114.7 kB / 1.124 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/1.223, allocations: 140 kB / 1.124 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/1.225, allocations: 1.518 MB / 1.125 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.225, allocations: 4 kB / 1.125 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.225, allocations: 52 kB / 1.125 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/1.225, allocations: 58.64 kB / 1.125 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/1.227, allocations: 1.146 MB / 1.127 GB, free: 10.54 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.008645/1.236, allocations: 7.192 MB / 1.134 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/1.237, allocations: 0.8236 MB / 1.134 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/1.238, allocations: 438.5 kB / 1.135 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008626/1.239, allocations: 0.7162 MB / 1.135 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/1.239, allocations: 47.22 kB / 1.136 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=74): time 2.825e-06/1.239, allocations: 0 / 1.136 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74): time 0.006495/1.245, allocations: 2.059 MB / 1.138 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.246, allocations: 60.06 kB / 1.138 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/1.247, allocations: 1.325 MB / 1.139 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/1.247, allocations: 49.69 kB / 1.139 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/1.248, allocations: 0.79 MB / 1.14 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/1.248, allocations: 272.1 kB / 1.14 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.249, allocations: 174.5 kB / 1.14 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.249, allocations: 334 kB / 1.14 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/1.249, allocations: 328.7 kB / 1.141 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/1.25, allocations: 0.5668 MB / 1.141 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/1.252, allocations: 0.8634 MB / 1.142 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.252, allocations: 0 / 1.142 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002464/1.254, allocations: 1.263 MB / 1.143 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.254, allocations: 8 kB / 1.143 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.254, allocations: 4 kB / 1.143 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.256, allocations: 412.2 kB / 1.144 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/1.257, allocations: 147.8 kB / 1.144 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/1.258, allocations: 2.063 MB / 1.146 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.26, allocations: 107 kB / 1.146 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/1.26, allocations: 35.98 kB / 1.146 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/1.261, allocations: 0.6324 MB / 1.147 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008145/1.262, allocations: 0.5591 MB / 1.147 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/1.263, allocations: 0.8478 MB / 1.148 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.77e-06/1.263, allocations: 4 kB / 1.148 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002057/1.265, allocations: 1.205 MB / 1.149 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.265, allocations: 8 kB / 1.149 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/1.265, allocations: 4 kB / 1.149 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/1.266, allocations: 361.5 kB / 1.15 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/1.267, allocations: 151.8 kB / 1.15 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/1.27, allocations: 4.189 MB / 1.154 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/1.271, allocations: 95.2 kB / 1.154 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/1.272, allocations: 39.98 kB / 1.154 GB, free: 12.81 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.0002754/1.272, allocations: 228.6 kB / 1.154 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.272, allocations: 154.1 kB / 1.154 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/1.275, allocations: 1.198 MB / 1.156 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.275, allocations: 8 kB / 1.156 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.275, allocations: 4 kB / 1.156 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/1.277, allocations: 1.271 MB / 1.157 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/1.282, allocations: 2.762 MB / 1.159 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.282, allocations: 4 kB / 1.159 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/1.283, allocations: 95.88 kB / 1.16 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/1.284, allocations: 358.4 kB / 1.16 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/1.284, allocations: 16 kB / 1.16 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/1.286, allocations: 2.026 MB / 1.162 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.286, allocations: 4 kB / 1.162 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.288, allocations: 1.207 MB / 1.163 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/1.288, allocations: 331 kB / 1.163 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.289, allocations: 16 kB / 1.163 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.29, allocations: 58.77 kB / 1.163 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.29, allocations: 48.44 kB / 1.164 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.29, allocations: 35.92 kB / 1.164 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001469/1.291, allocations: 0.8897 MB / 1.164 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.21e-07/1.291, allocations: 0 / 1.164 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002767/1.294, allocations: 0.8921 MB / 1.165 GB, free: 0.8594 MB / 0.9044 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.0009996/1.295, allocations: 387.9 kB / 1.166 GB, free: 496 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003699/1.299, allocations: 1.641 MB / 1.167 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.299, allocations: 0 / 1.167 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.3, allocations: 478.7 kB / 1.168 GB, free: 14.35 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.304, allocations: 0.7885 MB / 1.168 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/1.309, allocations: 2.647 MB / 1.171 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.311, allocations: 1.348 MB / 1.172 GB, free: 9.496 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001375/1.312, allocations: 320.5 kB / 1.173 GB, free: 9.184 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/1.312, allocations: 99.36 kB / 1.173 GB, free: 9.086 MB / 0.92 GB Notification: Performance of SimCode: time 1.122e-06/1.312, allocations: 0 / 1.173 GB, free: 9.086 MB / 0.92 GB Notification: Performance of Templates: time 0.05942/1.372, allocations: 32.96 MB / 1.205 GB, free: 8.594 MB / 0.9512 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)