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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001413/0.001413, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.766 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.55/1.55, allocations: 251.6 MB / 0.5088 GB, free: 3.379 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.00133/0.00133, allocations: 63.92 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.551, allocations: 104.7 MB / 0.7238 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8096/1.361, allocations: 251.8 MB / 0.9697 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0241/1.385, allocations: 18.13 MB / 0.9874 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/1.389, allocations: 73.53 kB / 0.9875 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/1.392, allocations: 0.915 MB / 0.9883 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.403, allocations: 3.584 MB / 0.9918 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/1.408, allocations: 1.651 MB / 0.9935 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009952/1.418, allocations: 6.855 MB / 1 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/1.422, allocations: 1.571 MB / 1.002 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/1.428, allocations: 1.901 MB / 1.004 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/1.432, allocations: 1.572 MB / 1.005 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005179/1.433, allocations: 99.69 kB / 1.005 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008403/1.441, allocations: 2.724 MB / 1.008 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001701/1.443, allocations: 0.5126 MB / 1.008 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003788/1.447, allocations: 1.023 MB / 1.009 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.458, allocations: 3.717 MB / 1.013 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.458, allocations: 0 / 1.013 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/1.458, allocations: 0 / 1.013 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001404/1.458, allocations: 0 / 1.013 GB, free: 10.33 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.007927/1.466, allocations: 2.488 MB / 1.015 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.466, allocations: 9.188 kB / 1.015 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/1.469, allocations: 372.6 kB / 1.016 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004334/1.473, allocations: 1.416 MB / 1.017 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.473, allocations: 111.2 kB / 1.017 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/1.474, allocations: 138.5 kB / 1.017 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004418/1.478, allocations: 1.506 MB / 1.019 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/1.478, allocations: 2.969 kB / 1.019 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/1.478, allocations: 64.44 kB / 1.019 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-05/1.479, allocations: 57.75 kB / 1.019 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/1.482, allocations: 1.142 MB / 1.02 GB, free: 5.707 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.01392/1.496, allocations: 7.183 MB / 1.027 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/1.498, allocations: 0.8191 MB / 1.028 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/1.499, allocations: 443.4 kB / 1.028 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.5, allocations: 0.7153 MB / 1.029 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.5, allocations: 43.22 kB / 1.029 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 3.857e-06/1.5, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.008892/1.509, allocations: 2.079 MB / 1.031 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/1.509, allocations: 64 kB / 1.031 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/1.512, allocations: 1.306 MB / 1.032 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/1.512, allocations: 41.7 kB / 1.032 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.513, allocations: 0.8005 MB / 1.033 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/1.514, allocations: 261.1 kB / 1.033 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004763/1.514, allocations: 185.8 kB / 1.034 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.515, allocations: 337.9 kB / 1.034 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/1.515, allocations: 328.7 kB / 1.034 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.517, allocations: 0.5623 MB / 1.035 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/1.519, allocations: 0.8658 MB / 1.036 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/1.519, allocations: 0 / 1.036 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004331/1.523, allocations: 1.255 MB / 1.037 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.523, allocations: 4 kB / 1.037 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.523, allocations: 8 kB / 1.037 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.526, allocations: 406.8 kB / 1.037 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/1.527, allocations: 158.1 kB / 1.037 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/1.529, allocations: 2.052 MB / 1.039 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.531, allocations: 183.1 kB / 1.04 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.531, allocations: 39.98 kB / 1.04 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001741/1.533, allocations: 0.6346 MB / 1.04 GB, free: 248 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/1.534, allocations: 0.5522 MB / 1.041 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00192/1.536, allocations: 0.8538 MB / 1.042 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.492e-06/1.536, allocations: 0 / 1.042 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.003329/1.54, allocations: 1.208 MB / 1.043 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.54, allocations: 6.031 kB / 1.043 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.54, allocations: 8.406 kB / 1.043 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/1.542, allocations: 358.3 kB / 1.043 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/1.542, allocations: 155.5 kB / 1.043 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00547/1.548, allocations: 3.86 MB / 1.047 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.55, allocations: 163.4 kB / 1.047 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.55, allocations: 35.98 kB / 1.047 GB, free: 8.676 MB / 0.7637 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.0004328/1.551, allocations: 235.8 kB / 1.048 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006967/1.551, allocations: 154.1 kB / 1.048 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/1.555, allocations: 1.187 MB / 1.049 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.555, allocations: 11.98 kB / 1.049 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.555, allocations: 0 / 1.049 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/1.559, allocations: 1.287 MB / 1.05 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006774/1.566, allocations: 2.744 MB / 1.053 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.566, allocations: 10.47 kB / 1.053 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/1.566, allocations: 97.09 kB / 1.053 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/1.568, allocations: 356.8 kB / 1.053 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/1.568, allocations: 16 kB / 1.053 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/1.57, allocations: 2.029 MB / 1.055 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.57, allocations: 6.625 kB / 1.055 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.572, allocations: 1.196 MB / 1.056 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/1.573, allocations: 326.9 kB / 1.057 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/1.573, allocations: 20 kB / 1.057 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.575, allocations: 115.7 kB / 1.057 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.575, allocations: 46.94 kB / 1.057 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/1.575, allocations: 39.98 kB / 1.057 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001694/1.577, allocations: 0.8858 MB / 1.058 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.577, allocations: 0 / 1.058 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003584/1.58, allocations: 0.906 MB / 1.059 GB, free: 12.75 MB / 0.7794 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.0011/1.581, allocations: 379.1 kB / 1.059 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.585, allocations: 1.631 MB / 1.061 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.585, allocations: 0 / 1.061 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.586, allocations: 471.6 kB / 1.061 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/1.591, allocations: 0.7893 MB / 1.062 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/1.597, allocations: 3.344 MB / 1.065 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.598, allocations: 1.348 MB / 1.066 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001541/1.6, allocations: 329.3 kB / 1.067 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/1.6, allocations: 95.42 kB / 1.067 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/1.6, allocations: 0 / 1.067 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.05571/1.656, allocations: 31.3 MB / 1.097 GB, free: 5.59 MB / 0.8106 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)