Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001638/0.001638, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001341/0.001341, allocations: 61.33 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2896, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02827/0.3179, allocations: 28.39 MB / 0.8106 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3299, allocations: 7.783 MB / 0.8182 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.3317, allocations: 31.81 kB / 0.8182 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.3333, allocations: 350.1 kB / 0.8185 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.3366, allocations: 0.9293 MB / 0.8195 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.3402, allocations: 0.9803 MB / 0.8204 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006153/0.3463, allocations: 4.911 MB / 0.8252 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.3497, allocations: 2.261 MB / 0.8274 GB, free: 104 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.3546, allocations: 1.804 MB / 0.8292 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.3575, allocations: 1.486 MB / 0.8306 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008077/0.3583, allocations: 224 kB / 0.8308 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.3623, allocations: 1.311 MB / 0.8321 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.3635, allocations: 0.5569 MB / 0.8327 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.3662, allocations: 1.155 MB / 0.8338 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006232/0.3724, allocations: 3.639 MB / 0.8373 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3725, allocations: 0 / 0.8373 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3725, allocations: 0 / 0.8373 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001367/0.3726, allocations: 0 / 0.8373 GB, free: 5.914 MB / 0.6544 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.006976/0.3796, allocations: 2.542 MB / 0.8398 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3797, allocations: 12.03 kB / 0.8398 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.3806, allocations: 234.5 kB / 0.8401 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.3834, allocations: 1.741 MB / 0.8418 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.3835, allocations: 110.7 kB / 0.8419 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.3838, allocations: 148 kB / 0.842 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.3869, allocations: 1.997 MB / 0.844 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.387, allocations: 11.91 kB / 0.844 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.3871, allocations: 56 kB / 0.844 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/0.3871, allocations: 39.98 kB / 0.8441 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.3897, allocations: 1.794 MB / 0.8458 GB, free: 13.05 MB / 0.67 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.01244/0.4022, allocations: 7.593 MB / 0.8532 GB, free: 5.148 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.404, allocations: 1.44 MB / 0.8546 GB, free: 3.688 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.4048, allocations: 0.667 MB / 0.8553 GB, free: 3.02 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.4109, allocations: 3.842 MB / 0.859 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.411, allocations: 39.56 kB / 0.8591 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.411, allocations: 1.203 kB / 0.8591 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002399/0.4134, allocations: 1.517 MB / 0.8606 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4134, allocations: 60.41 kB / 0.8606 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.4153, allocations: 1.582 MB / 0.8622 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.4154, allocations: 49.7 kB / 0.8622 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005806/0.416, allocations: 0.7534 MB / 0.8629 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.4163, allocations: 315.6 kB / 0.8632 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.4167, allocations: 291.3 kB / 0.8635 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4169, allocations: 365.9 kB / 0.8639 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009229/0.4178, allocations: 0.6917 MB / 0.8645 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.4189, allocations: 1.024 MB / 0.8655 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.4209, allocations: 1.628 MB / 0.8671 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4209, allocations: 4 kB / 0.8671 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002883/0.4238, allocations: 1.947 MB / 0.869 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4238, allocations: 8 kB / 0.8691 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4238, allocations: 12 kB / 0.8691 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.4239, allocations: 16 kB / 0.8691 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.425, allocations: 335.5 kB / 0.8694 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.4251, allocations: 20.5 kB / 0.8694 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.4263, allocations: 214.1 kB / 0.8696 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4265, allocations: 59.98 kB / 0.8697 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001777/0.4282, allocations: 1.277 MB / 0.8709 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/0.4294, allocations: 1.024 MB / 0.8719 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001895/0.4313, allocations: 1.624 MB / 0.8735 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.68e-06/0.4313, allocations: 4 kB / 0.8735 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002827/0.4341, allocations: 1.939 MB / 0.8754 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4341, allocations: 9 kB / 0.8754 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4342, allocations: 8 kB / 0.8754 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4342, allocations: 20 kB / 0.8754 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4353, allocations: 335.5 kB / 0.8758 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.4354, allocations: 23.92 kB / 0.8758 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4367, allocations: 170.9 kB / 0.8759 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.4369, allocations: 60.11 kB / 0.876 GB, free: 12.88 MB / 0.7012 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.0003627/0.4372, allocations: 259.8 kB / 0.8763 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.4376, allocations: 154.1 kB / 0.8764 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.4397, allocations: 1.277 MB / 0.8776 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4398, allocations: 12 kB / 0.8777 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4398, allocations: 0 / 0.8777 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.4412, allocations: 1.288 MB / 0.8789 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.446, allocations: 2.931 MB / 0.8818 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.446, allocations: 0 / 0.8818 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.4468, allocations: 191.8 kB / 0.882 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.4468, allocations: 4 kB / 0.882 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.4469, allocations: 20 kB / 0.882 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/0.4469, allocations: 15.86 kB / 0.882 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.447, allocations: 0 / 0.882 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.4496, allocations: 1.913 MB / 0.8839 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/0.4504, allocations: 402.8 kB / 0.8843 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.4508, allocations: 24 kB / 0.8843 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.4518, allocations: 83.7 kB / 0.8844 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.452, allocations: 48.92 kB / 0.8844 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.452, allocations: 43.97 kB / 0.8844 GB, free: 4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002098/0.4542, allocations: 1.19 MB / 0.8856 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4542, allocations: 0 / 0.8856 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003166/0.4573, allocations: 0.9007 MB / 0.8865 GB, free: 1.91 MB / 0.7012 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.001019/0.4584, allocations: 359.4 kB / 0.8868 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004885/0.4633, allocations: 2.833 MB / 0.8896 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.4633, allocations: 448 / 0.8896 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.464, allocations: 0.5209 MB / 0.8901 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/0.4682, allocations: 0.9137 MB / 0.891 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.4745, allocations: 4.264 MB / 0.8952 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4761, allocations: 1.665 MB / 0.8968 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002982/0.4791, allocations: 0.9137 MB / 0.8977 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.4797, allocations: 139.4 kB / 0.8978 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.4797, allocations: 0 / 0.8978 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.4988/0.9785, allocations: 35.16 MB / 0.9321 GB, free: 124 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)