Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 168.4 kB / 326.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007117/0.0007112, allocations: 88.05 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03898/0.2672, allocations: 28.12 MB / 0.9242 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.2827, allocations: 7.893 MB / 0.9319 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.2844, allocations: 31.75 kB / 0.9319 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2862, allocations: 326.1 kB / 0.9323 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.2905, allocations: 0.9331 MB / 0.9332 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.2949, allocations: 0.9129 MB / 0.9341 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008391/0.3033, allocations: 6.033 MB / 0.9399 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.3066, allocations: 1.775 MB / 0.9417 GB, free: 22.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.3103, allocations: 1.346 MB / 0.943 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.313, allocations: 1.287 MB / 0.9443 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006067/0.3136, allocations: 76 kB / 0.9443 GB, free: 19.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.3176, allocations: 1.139 MB / 0.9454 GB, free: 18.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.3184, allocations: 374.3 kB / 0.9458 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.3203, allocations: 0.9405 MB / 0.9467 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.3248, allocations: 2.817 MB / 0.9495 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3248, allocations: 4 kB / 0.9495 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3248, allocations: 0 / 0.9495 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001063/0.3249, allocations: 0 / 0.9495 GB, free: 14.03 MB / 0.6042 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.006759/0.3317, allocations: 2.126 MB / 0.9515 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3318, allocations: 12.03 kB / 0.9516 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.3335, allocations: 226.5 kB / 0.9518 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/0.3384, allocations: 1.738 MB / 0.9535 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.3386, allocations: 114.7 kB / 0.9536 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005617/0.3392, allocations: 152 kB / 0.9537 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/0.3446, allocations: 1.981 MB / 0.9557 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-05/0.3447, allocations: 7.906 kB / 0.9557 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.345, allocations: 59.94 kB / 0.9557 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/0.345, allocations: 39.98 kB / 0.9558 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.3496, allocations: 1.79 MB / 0.9575 GB, free: 5.613 MB / 0.6042 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.01803/0.3676, allocations: 7.597 MB / 0.9649 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.3712, allocations: 1.444 MB / 0.9663 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.3729, allocations: 0.6645 MB / 0.967 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.3842, allocations: 3.827 MB / 0.9707 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.3843, allocations: 43.56 kB / 0.9708 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 5.33e-06/0.3843, allocations: 0 / 0.9708 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.004536/0.3888, allocations: 1.51 MB / 0.9722 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3889, allocations: 60.41 kB / 0.9723 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/0.3933, allocations: 1.589 MB / 0.9738 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.3936, allocations: 49.7 kB / 0.9739 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.3947, allocations: 0.7495 MB / 0.9746 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.3952, allocations: 311.6 kB / 0.9749 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.3956, allocations: 129.6 kB / 0.975 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.3958, allocations: 365.9 kB / 0.9754 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.3979, allocations: 0.6792 MB / 0.9761 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.4001, allocations: 1.024 MB / 0.9771 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/0.4041, allocations: 1.62 MB / 0.9786 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.4042, allocations: 7.938 kB / 0.9787 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006075/0.4103, allocations: 1.951 MB / 0.9806 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003669/0.4107, allocations: 357.2 kB / 0.9809 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.4107, allocations: 8 kB / 0.9809 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-05/0.4108, allocations: 19.94 kB / 0.9809 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.4133, allocations: 339.4 kB / 0.9812 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.631e-05/0.4134, allocations: 19.94 kB / 0.9813 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4157, allocations: 222 kB / 0.9815 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.4159, allocations: 64.05 kB / 0.9815 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.416, allocations: 7.938 kB / 0.9815 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004952/0.4209, allocations: 1.795 MB / 0.9833 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.421, allocations: 12 kB / 0.9833 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.421, allocations: 12 kB / 0.9833 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.4234, allocations: 335.5 kB / 0.9836 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.844e-05/0.4234, allocations: 19.94 kB / 0.9837 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.4257, allocations: 186.8 kB / 0.9838 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.4259, allocations: 63.92 kB / 0.9839 GB, free: 9.457 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002085/0.428, allocations: 0.7463 MB / 0.9846 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/0.4288, allocations: 150.2 kB / 0.9848 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.4326, allocations: 1.291 MB / 0.986 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.4326, allocations: 8 kB / 0.986 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4327, allocations: 0 / 0.986 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002731/0.4354, allocations: 1.288 MB / 0.9873 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007783/0.4432, allocations: 2.915 MB / 0.9901 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4432, allocations: 3.938 kB / 0.9902 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.4448, allocations: 183.8 kB / 0.9903 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.4448, allocations: 8 kB / 0.9903 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.4449, allocations: 27.98 kB / 0.9904 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.445, allocations: 8.125 kB / 0.9904 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.445, allocations: 0 / 0.9904 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.4498, allocations: 1.909 MB / 0.9922 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.451, allocations: 394.9 kB / 0.9926 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/0.4515, allocations: 23.91 kB / 0.9926 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.4533, allocations: 81.45 kB / 0.9927 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.4534, allocations: 52.86 kB / 0.9928 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.4536, allocations: 31.98 kB / 0.9928 GB, free: 120 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003084/0.4567, allocations: 1.194 MB / 0.994 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.9e-07/0.4567, allocations: 0 / 0.994 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004152/0.4609, allocations: 0.9046 MB / 0.9948 GB, free: 14.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009023/0.4618, allocations: 369.1 kB / 0.9952 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.4652, allocations: 2.321 MB / 0.9975 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4653, allocations: 4 kB / 0.9975 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.466, allocations: 0.517 MB / 0.998 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/0.4699, allocations: 0.8678 MB / 0.9988 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.4755, allocations: 4.24 MB / 1.003 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.4767, allocations: 1.626 MB / 1.005 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.4772, allocations: 139.3 kB / 1.005 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/0.4772, allocations: 0 / 1.005 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of Templates: time 0.04566/0.5229, allocations: 31.79 MB / 1.036 GB, free: 4.234 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)