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.0009252/0.0009251, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001178/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.541/1.541, allocations: 252 MB / 0.5102 GB, free: 4.844 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.00054/0.00054, allocations: 16 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6248, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8162/1.441, allocations: 232.2 MB / 0.9549 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02166/1.463, allocations: 16.86 MB / 0.9714 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/1.467, allocations: 71.7 kB / 0.9714 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/1.47, allocations: 0.7303 MB / 0.9722 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.48, allocations: 2.813 MB / 0.9749 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00482/1.484, allocations: 1.365 MB / 0.9762 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008803/1.493, allocations: 5.851 MB / 0.982 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/1.496, allocations: 1.308 MB / 0.9832 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/1.501, allocations: 1.773 MB / 0.985 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/1.505, allocations: 1.41 MB / 0.9863 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004443/1.505, allocations: 68.62 kB / 0.9864 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/1.511, allocations: 1.54 MB / 0.9879 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/1.512, allocations: 476.1 kB / 0.9884 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/1.514, allocations: 434.6 kB / 0.9888 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005602/1.519, allocations: 2.616 MB / 0.9913 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.519, allocations: 0 / 0.9913 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.474e-06/1.519, allocations: 0 / 0.9913 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001248/1.519, allocations: 0 / 0.9913 GB, free: 20.03 MB / 0.7325 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.00573/1.525, allocations: 2.124 MB / 0.9934 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.525, allocations: 8.594 kB / 0.9934 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/1.527, allocations: 375.1 kB / 0.9938 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/1.531, allocations: 1.365 MB / 0.9951 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.531, allocations: 110.1 kB / 0.9952 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/1.532, allocations: 138.9 kB / 0.9953 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/1.536, allocations: 1.512 MB / 0.9968 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/1.536, allocations: 3.984 kB / 0.9968 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.536, allocations: 61.3 kB / 0.9969 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/1.536, allocations: 58.41 kB / 0.9969 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/1.538, allocations: 1.153 MB / 0.9981 GB, free: 17.2 MB / 0.7325 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.01003/1.548, allocations: 7.2 MB / 1.005 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.55, allocations: 0.8148 MB / 1.006 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/1.55, allocations: 448.9 kB / 1.006 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009612/1.551, allocations: 0.7285 MB / 1.007 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.552, allocations: 50.81 kB / 1.007 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 4.038e-06/1.552, allocations: 0 / 1.007 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.007445/1.559, allocations: 2.125 MB / 1.009 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.559, allocations: 64.59 kB / 1.009 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/1.563, allocations: 1.299 MB / 1.01 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/1.563, allocations: 41.11 kB / 1.011 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009951/1.564, allocations: 0.802 MB / 1.011 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/1.565, allocations: 257.8 kB / 1.012 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/1.565, allocations: 15.22 kB / 1.012 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002067/1.565, allocations: 340.9 kB / 1.012 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/1.566, allocations: 327.3 kB / 1.012 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/1.567, allocations: 0.5633 MB / 1.013 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/1.567, allocations: 418 kB / 1.013 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.567, allocations: 0 / 1.013 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002903/1.57, allocations: 1.264 MB / 1.014 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/1.57, allocations: 229.5 kB / 1.015 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.571, allocations: 3.375 kB / 1.015 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/1.572, allocations: 410.5 kB / 1.015 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/1.573, allocations: 162.2 kB / 1.015 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/1.575, allocations: 2.058 MB / 1.017 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.577, allocations: 188.1 kB / 1.017 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.577, allocations: 42.16 kB / 1.017 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.577, allocations: 3.281 kB / 1.017 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001979/1.579, allocations: 1.054 MB / 1.018 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.579, allocations: 10.48 kB / 1.018 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/1.581, allocations: 370.9 kB / 1.019 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/1.581, allocations: 154 kB / 1.019 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/1.585, allocations: 3.858 MB / 1.023 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.587, allocations: 182.6 kB / 1.023 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.587, allocations: 35.25 kB / 1.023 GB, free: 2.281 MB / 0.7325 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.00123/1.588, allocations: 469.4 kB / 1.023 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/1.589, allocations: 158.3 kB / 1.024 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/1.592, allocations: 1.207 MB / 1.025 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.592, allocations: 6.125 kB / 1.025 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.592, allocations: 0 / 1.025 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002271/1.594, allocations: 1.298 MB / 1.026 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/1.6, allocations: 2.763 MB / 1.029 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.6, allocations: 4 kB / 1.029 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/1.6, allocations: 118.6 kB / 1.029 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/1.602, allocations: 365.4 kB / 1.029 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/1.602, allocations: 17.62 kB / 1.029 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/1.604, allocations: 2.028 MB / 1.031 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.604, allocations: 6.562 kB / 1.031 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/1.606, allocations: 1.218 MB / 1.032 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000962/1.607, allocations: 347.8 kB / 1.033 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004314/1.607, allocations: 16.25 kB / 1.033 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.609, allocations: 128 kB / 1.033 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.609, allocations: 49.52 kB / 1.033 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.609, allocations: 41.97 kB / 1.033 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00166/1.61, allocations: 0.8713 MB / 1.034 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.611, allocations: 0 / 1.034 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003579/1.614, allocations: 0.9175 MB / 1.035 GB, free: 10.25 MB / 0.7481 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.0009917/1.615, allocations: 374.1 kB / 1.035 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003526/1.619, allocations: 1.654 MB / 1.037 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.619, allocations: 1.75 kB / 1.037 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/1.62, allocations: 478 kB / 1.037 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/1.624, allocations: 0.7834 MB / 1.038 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/1.629, allocations: 3.251 MB / 1.041 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.631, allocations: 1.35 MB / 1.042 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001648/1.632, allocations: 319.2 kB / 1.043 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/1.633, allocations: 101 kB / 1.043 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.633, allocations: 0 / 1.043 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of Templates: time 0.05574/1.688, allocations: 30.25 MB / 1.072 GB, free: 5.152 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: