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.000859/0.0008588, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001041/0.001042, allocations: 168.7 kB / 15.95 MB, free: 204 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.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.687/1.687, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005555/0.0005556, allocations: 16.16 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2455, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02765/0.2731, allocations: 26.27 MB / 0.8129 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.2835, allocations: 7.336 MB / 0.8201 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.2849, allocations: 27.81 kB / 0.8201 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2862, allocations: 286.1 kB / 0.8204 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.2891, allocations: 0.8043 MB / 0.8212 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.2918, allocations: 0.7758 MB / 0.8219 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.2983, allocations: 5.222 MB / 0.827 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.3013, allocations: 1.617 MB / 0.8286 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.3045, allocations: 1.307 MB / 0.8299 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.308, allocations: 1.221 MB / 0.8311 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007839/0.3088, allocations: 80 kB / 0.8312 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.3122, allocations: 0.9827 MB / 0.8321 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008178/0.313, allocations: 362.5 kB / 0.8325 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3141, allocations: 416.8 kB / 0.8329 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.3177, allocations: 2.813 MB / 0.8356 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3177, allocations: 0 / 0.8356 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3177, allocations: 0 / 0.8356 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001286/0.3179, allocations: 4 kB / 0.8356 GB, free: 10.28 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.005415/0.3233, allocations: 2.144 MB / 0.8377 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3233, allocations: 8.031 kB / 0.8377 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3245, allocations: 237.5 kB / 0.838 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.3281, allocations: 1.703 MB / 0.8396 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3282, allocations: 110.7 kB / 0.8397 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.3286, allocations: 152 kB / 0.8399 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.3329, allocations: 1.982 MB / 0.8418 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.3329, allocations: 4 kB / 0.8418 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.3332, allocations: 56 kB / 0.8419 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/0.3332, allocations: 39.94 kB / 0.8419 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.3364, allocations: 1.79 MB / 0.8436 GB, free: 1.879 MB / 0.6544 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.01302/0.3494, allocations: 7.617 MB / 0.8511 GB, free: 9.953 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.3519, allocations: 1.451 MB / 0.8525 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3531, allocations: 0.6576 MB / 0.8531 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007327/0.3605, allocations: 3.838 MB / 0.8569 GB, free: 3.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.3605, allocations: 51.5 kB / 0.8569 GB, free: 3.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/0.3606, allocations: 0 / 0.8569 GB, free: 3.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.002616/0.3632, allocations: 1.506 MB / 0.8584 GB, free: 2.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3632, allocations: 64.41 kB / 0.8585 GB, free: 2.016 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.3657, allocations: 1.57 MB / 0.86 GB, free: 444 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3658, allocations: 45.7 kB / 0.8601 GB, free: 392 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.3665, allocations: 0.7535 MB / 0.8608 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.3668, allocations: 311.5 kB / 0.8611 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.3669, allocations: 28 kB / 0.8611 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3671, allocations: 369.9 kB / 0.8615 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3682, allocations: 0.6792 MB / 0.8621 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.3694, allocations: 1.02 MB / 0.8631 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3707, allocations: 0.8689 MB / 0.864 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.3707, allocations: 4 kB / 0.864 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002987/0.3737, allocations: 1.931 MB / 0.8659 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.374, allocations: 357.5 kB / 0.8662 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.374, allocations: 8 kB / 0.8662 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.374, allocations: 20 kB / 0.8662 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3752, allocations: 335.5 kB / 0.8665 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/0.3753, allocations: 23.92 kB / 0.8666 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.3765, allocations: 217.1 kB / 0.8668 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.3767, allocations: 59.98 kB / 0.8668 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3767, allocations: 7.953 kB / 0.8668 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00256/0.3793, allocations: 1.787 MB / 0.8686 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3793, allocations: 8 kB / 0.8686 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3793, allocations: 20 kB / 0.8686 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3805, allocations: 335.4 kB / 0.8689 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.3805, allocations: 23.86 kB / 0.869 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3817, allocations: 191 kB / 0.8691 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.3818, allocations: 56 kB / 0.8692 GB, free: 6.734 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.3829, allocations: 0.7431 MB / 0.8699 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.3833, allocations: 154.2 kB / 0.8701 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.3853, allocations: 1.278 MB / 0.8713 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3854, allocations: 12 kB / 0.8713 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3854, allocations: 8.062 kB / 0.8713 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/0.3868, allocations: 1.28 MB / 0.8726 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.3911, allocations: 2.927 MB / 0.8754 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3912, allocations: 4 kB / 0.8754 GB, free: 148 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.3919, allocations: 179.9 kB / 0.8756 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.392, allocations: 8 kB / 0.8756 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.392, allocations: 23.98 kB / 0.8756 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.3921, allocations: 4 kB / 0.8757 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3921, allocations: 7.938 kB / 0.8757 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.3946, allocations: 1.909 MB / 0.8775 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.3954, allocations: 418.8 kB / 0.8779 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.3957, allocations: 24 kB / 0.8779 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/0.3966, allocations: 81.39 kB / 0.878 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.3967, allocations: 56.86 kB / 0.8781 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.3968, allocations: 35.98 kB / 0.8781 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001769/0.3986, allocations: 1.175 MB / 0.8793 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3986, allocations: 0 / 0.8793 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002907/0.4015, allocations: 0.9046 MB / 0.8801 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009002/0.4024, allocations: 352.2 kB / 0.8805 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.4062, allocations: 2.309 MB / 0.8827 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4062, allocations: 0 / 0.8827 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.4069, allocations: 0.517 MB / 0.8832 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/0.4105, allocations: 0.8707 MB / 0.8841 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.4165, allocations: 4.345 MB / 0.8883 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.418, allocations: 1.665 MB / 0.89 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002667/0.4206, allocations: 0.9191 MB / 0.8909 GB, free: 284 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.4211, allocations: 131.3 kB / 0.891 GB, free: 152 kB / 0.7012 GB Notification: Performance of SimCode: time 1.934e-06/0.4211, allocations: 4 kB / 0.891 GB, free: 148 kB / 0.7012 GB Notification: Performance of Templates: time 0.4368/0.8579, allocations: 32.91 MB / 0.9231 GB, free: 129.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: