Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.725/4.725, allocations: 0.5623 GB / 0.5769 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.002365, allocations: 362.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.013/4.013, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 187.9 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005274, allocations: 20 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5701, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2178/0.7879, allocations: 228.5 MB / 1.684 GB, free: 55.68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0225/0.8105, allocations: 16.92 MB / 1.7 GB, free: 38.73 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.8132, allocations: 67.56 kB / 1.7 GB, free: 38.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.8162, allocations: 0.8927 MB / 1.701 GB, free: 37.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.8266, allocations: 3.414 MB / 1.705 GB, free: 34.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.8328, allocations: 1.824 MB / 1.706 GB, free: 32.55 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006997/0.8398, allocations: 5.841 MB / 1.712 GB, free: 26.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.842, allocations: 1.302 MB / 1.713 GB, free: 25.37 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.8455, allocations: 1.641 MB / 1.715 GB, free: 23.72 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.8477, allocations: 1.396 MB / 1.716 GB, free: 22.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.848, allocations: 68 kB / 1.716 GB, free: 22.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.8513, allocations: 1.153 MB / 1.718 GB, free: 21.09 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.8519, allocations: 466.2 kB / 1.718 GB, free: 20.64 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.8525, allocations: 432.6 kB / 1.718 GB, free: 20.21 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.8556, allocations: 2.463 MB / 1.721 GB, free: 17.74 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.823e-06/0.8556, allocations: 0 / 1.721 GB, free: 17.74 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8556, allocations: 0 / 1.721 GB, free: 17.74 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.8556, allocations: 0 / 1.721 GB, free: 17.74 MB / 0.8542 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.003762/0.8594, allocations: 2.082 MB / 1.723 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8595, allocations: 12.16 kB / 1.723 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.8615, allocations: 381.1 kB / 1.723 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.8643, allocations: 1.354 MB / 1.725 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.8645, allocations: 106.7 kB / 1.725 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.8647, allocations: 136 kB / 1.725 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.8677, allocations: 1.503 MB / 1.726 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.8678, allocations: 4 kB / 1.726 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.8679, allocations: 63.92 kB / 1.726 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.868, allocations: 58.59 kB / 1.726 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.8706, allocations: 1.154 MB / 1.728 GB, free: 10.72 MB / 0.8542 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.008995/0.8796, allocations: 7.184 MB / 1.735 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.8812, allocations: 0.8339 MB / 1.735 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/0.8822, allocations: 454 kB / 1.736 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008122/0.883, allocations: 0.7279 MB / 1.737 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8831, allocations: 43.22 kB / 1.737 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=74): time 3.702e-06/0.8831, allocations: 0 / 1.737 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74): time 0.5208/1.404, allocations: 2.12 MB / 1.739 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.404, allocations: 61.42 kB / 1.739 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/1.406, allocations: 1.286 MB / 1.74 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.407, allocations: 43.73 kB / 1.74 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/1.407, allocations: 0.8006 MB / 1.741 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.407, allocations: 262.3 kB / 1.741 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/1.408, allocations: 16.06 kB / 1.741 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/1.408, allocations: 341.6 kB / 1.741 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000953/1.409, allocations: 335 kB / 1.742 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.41, allocations: 0.5626 MB / 1.742 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.411, allocations: 415.7 kB / 1.743 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.655e-06/1.411, allocations: 5.75 kB / 1.743 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003465/1.414, allocations: 1.27 MB / 1.744 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.414, allocations: 227.8 kB / 1.744 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.414, allocations: 6.188 kB / 1.744 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/1.417, allocations: 419.2 kB / 1.744 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/1.418, allocations: 158.5 kB / 1.745 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/1.42, allocations: 2.056 MB / 1.747 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/1.421, allocations: 185.6 kB / 1.747 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.421, allocations: 38.81 kB / 1.747 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.421, allocations: 3.844 kB / 1.747 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002734/1.424, allocations: 1.056 MB / 1.748 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.424, allocations: 4.594 kB / 1.748 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/1.426, allocations: 373.7 kB / 1.748 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/1.427, allocations: 165.4 kB / 1.748 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/1.432, allocations: 3.853 MB / 1.752 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/1.433, allocations: 178.3 kB / 1.752 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.434, allocations: 41.22 kB / 1.752 GB, free: 265.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009906/1.435, allocations: 466.2 kB / 1.753 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/1.435, allocations: 154.9 kB / 1.753 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/1.439, allocations: 1.213 MB / 1.754 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.439, allocations: 7.938 kB / 1.754 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-06/1.439, allocations: 6 kB / 1.754 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002978/1.442, allocations: 1.298 MB / 1.755 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/1.447, allocations: 2.773 MB / 1.758 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.447, allocations: 3.953 kB / 1.758 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/1.448, allocations: 108.2 kB / 1.758 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.45, allocations: 361.5 kB / 1.759 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/1.45, allocations: 21.64 kB / 1.759 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.452, allocations: 2.026 MB / 1.761 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.935e-06/1.452, allocations: 7.641 kB / 1.761 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/1.454, allocations: 1.221 MB / 1.762 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/1.455, allocations: 336.5 kB / 1.762 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/1.455, allocations: 25.14 kB / 1.762 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.456, allocations: 113.2 kB / 1.762 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.457, allocations: 55.59 kB / 1.762 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/1.457, allocations: 31.67 kB / 1.762 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001624/1.458, allocations: 0.8695 MB / 1.763 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.52e-07/1.458, allocations: 0 / 1.763 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003604/1.462, allocations: 0.9099 MB / 1.764 GB, free: 258.5 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000881/1.463, allocations: 366.1 kB / 1.764 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004079/1.467, allocations: 1.665 MB / 1.766 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.115e-06/1.467, allocations: 4 kB / 1.766 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.468, allocations: 479.3 kB / 1.767 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/1.473, allocations: 0.7919 MB / 1.767 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/1.477, allocations: 3.233 MB / 1.77 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.478, allocations: 1.375 MB / 1.772 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001774/1.48, allocations: 331.4 kB / 1.772 GB, free: 251 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/1.481, allocations: 99.42 kB / 1.772 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.719e-06/1.481, allocations: 3.938 kB / 1.772 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.06243/1.543, allocations: 30.19 MB / 1.802 GB, free: 221.6 MB / 0.8542 GB