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.009331/0.009331, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001782/0.001782, allocations: 191.2 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.601/1.601, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001488/0.001488, allocations: 75.89 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8687/1.125, allocations: 254.3 MB / 1.076 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03114/1.156, allocations: 18.04 MB / 1.094 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005894/1.162, allocations: 79.56 kB / 1.094 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004733/1.167, allocations: 1.095 MB / 1.095 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01489/1.182, allocations: 3.833 MB / 1.099 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006887/1.189, allocations: 1.831 MB / 1.101 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009638/1.199, allocations: 5.117 MB / 1.106 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/1.203, allocations: 1.846 MB / 1.107 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006625/1.209, allocations: 2.185 MB / 1.11 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/1.213, allocations: 1.533 MB / 1.111 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008922/1.214, allocations: 192 kB / 1.111 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006807/1.221, allocations: 2.53 MB / 1.114 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/1.222, allocations: 0.5997 MB / 1.114 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/1.225, allocations: 1.112 MB / 1.115 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008608/1.234, allocations: 3.727 MB / 1.119 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/1.234, allocations: 0 / 1.119 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.234, allocations: 3.938 kB / 1.119 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001672/1.234, allocations: 0 / 1.119 GB, free: 2.426 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.005726/1.24, allocations: 2.495 MB / 1.121 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.24, allocations: 12.03 kB / 1.122 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/1.242, allocations: 369.2 kB / 1.122 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/1.244, allocations: 1.468 MB / 1.123 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/1.244, allocations: 110.7 kB / 1.123 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/1.245, allocations: 144 kB / 1.124 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/1.247, allocations: 1.515 MB / 1.125 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/1.247, allocations: 7.922 kB / 1.125 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.247, allocations: 56 kB / 1.125 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/1.247, allocations: 54.59 kB / 1.125 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/1.249, allocations: 1.146 MB / 1.126 GB, free: 10.87 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.008702/1.258, allocations: 7.188 MB / 1.133 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.259, allocations: 0.8178 MB / 1.134 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/1.26, allocations: 446.4 kB / 1.134 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009145/1.261, allocations: 0.7162 MB / 1.135 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.261, allocations: 47.22 kB / 1.135 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=74): time 2.725e-06/1.261, allocations: 0 / 1.135 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74): time 0.006461/1.268, allocations: 2.059 MB / 1.137 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/1.268, allocations: 60.06 kB / 1.137 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.27, allocations: 1.325 MB / 1.139 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/1.27, allocations: 45.7 kB / 1.139 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/1.27, allocations: 0.7938 MB / 1.139 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.271, allocations: 264.2 kB / 1.14 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/1.271, allocations: 174.5 kB / 1.14 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.271, allocations: 341.9 kB / 1.14 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/1.272, allocations: 328.7 kB / 1.14 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/1.273, allocations: 0.5644 MB / 1.141 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/1.274, allocations: 0.8634 MB / 1.142 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.274, allocations: 4 kB / 1.142 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002451/1.276, allocations: 1.263 MB / 1.143 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.276, allocations: 8 kB / 1.143 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.276, allocations: 4 kB / 1.143 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.278, allocations: 410.6 kB / 1.144 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/1.279, allocations: 147.8 kB / 1.144 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/1.281, allocations: 2.055 MB / 1.146 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.282, allocations: 114.9 kB / 1.146 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/1.282, allocations: 35.98 kB / 1.146 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001161/1.283, allocations: 0.6364 MB / 1.146 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007554/1.284, allocations: 0.5552 MB / 1.147 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/1.285, allocations: 0.8517 MB / 1.148 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.285, allocations: 4 kB / 1.148 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002158/1.287, allocations: 1.201 MB / 1.149 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.287, allocations: 11.94 kB / 1.149 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.287, allocations: 4 kB / 1.149 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/1.289, allocations: 365.1 kB / 1.149 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/1.289, allocations: 147.8 kB / 1.149 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/1.293, allocations: 4.185 MB / 1.154 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.294, allocations: 97.33 kB / 1.154 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/1.294, allocations: 32 kB / 1.154 GB, free: 13.15 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.0002951/1.295, allocations: 236.6 kB / 1.154 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/1.295, allocations: 158.1 kB / 1.154 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/1.298, allocations: 1.193 MB / 1.155 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.298, allocations: 8 kB / 1.155 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.298, allocations: 0 / 1.155 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002498/1.3, allocations: 1.279 MB / 1.156 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/1.306, allocations: 2.762 MB / 1.159 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.306, allocations: 4 kB / 1.159 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/1.307, allocations: 91.89 kB / 1.159 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/1.308, allocations: 358.4 kB / 1.16 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/1.308, allocations: 16 kB / 1.16 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/1.31, allocations: 2.027 MB / 1.162 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.31, allocations: 4 kB / 1.162 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.312, allocations: 1.203 MB / 1.163 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/1.313, allocations: 338.9 kB / 1.163 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.313, allocations: 16 kB / 1.163 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/1.314, allocations: 54.88 kB / 1.163 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.314, allocations: 48.44 kB / 1.163 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/1.314, allocations: 35.92 kB / 1.163 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001294/1.315, allocations: 0.8936 MB / 1.164 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.81e-07/1.315, allocations: 0 / 1.164 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002332/1.318, allocations: 0.892 MB / 1.165 GB, free: 1.188 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.00086/1.318, allocations: 385.4 kB / 1.165 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003623/1.322, allocations: 1.638 MB / 1.167 GB, free: 15.15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.322, allocations: 0 / 1.167 GB, free: 15.15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.323, allocations: 474.7 kB / 1.167 GB, free: 14.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/1.327, allocations: 0.7952 MB / 1.168 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/1.331, allocations: 2.65 MB / 1.171 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/1.332, allocations: 1.344 MB / 1.172 GB, free: 9.828 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001176/1.334, allocations: 328.3 kB / 1.172 GB, free: 9.508 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/1.334, allocations: 95.42 kB / 1.173 GB, free: 9.414 MB / 0.92 GB Notification: Performance of SimCode: time 2.464e-06/1.334, allocations: 0 / 1.173 GB, free: 9.414 MB / 0.92 GB Notification: Performance of Templates: time 0.05331/1.387, allocations: 32.94 MB / 1.205 GB, free: 8.926 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)