Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.3 MB / 303.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 185 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 0.6306 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 109.1 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 11 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.263, allocations: 409.2 MB / 1.379 GB, free: 3.91 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.263, allocations: 109.5 kB / 1.379 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.985/3.248, allocations: 413 MB / 1.782 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.334e-06/3.248, allocations: 3.406 kB / 1.782 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003222/3.248, allocations: 45.45 kB / 1.783 GB, free: 232.8 MB / 0.9323 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.007406/3.256, allocations: 2.223 MB / 1.785 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/3.256, allocations: 9.453 kB / 1.785 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/3.257, allocations: 228.1 kB / 1.785 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/3.262, allocations: 2.086 MB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/3.262, allocations: 111.6 kB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/3.262, allocations: 154 kB / 1.787 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/3.266, allocations: 1.887 MB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/3.266, allocations: 6.156 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/3.266, allocations: 57.56 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/3.266, allocations: 37.12 kB / 1.789 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/3.269, allocations: 1.694 MB / 1.791 GB, free: 231.7 MB / 0.9323 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.0135/3.283, allocations: 7.533 MB / 1.798 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/3.285, allocations: 1.328 MB / 1.799 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007163/3.292, allocations: 3.756 MB / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/3.292, allocations: 46.28 kB / 1.803 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.597e-06/3.292, allocations: 0 / 1.803 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.00284/3.295, allocations: 1.451 MB / 1.805 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/3.295, allocations: 62.06 kB / 1.805 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/3.297, allocations: 1.512 MB / 1.806 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/3.297, allocations: 47.17 kB / 1.806 GB, free: 227 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/3.298, allocations: 0.7707 MB / 1.807 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/3.298, allocations: 297.1 kB / 1.807 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/3.298, allocations: 31.31 kB / 1.807 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001167/3.299, allocations: 364.6 kB / 1.808 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/3.3, allocations: 0.6724 MB / 1.808 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/3.301, allocations: 1.015 MB / 1.809 GB, free: 226 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/3.302, allocations: 0.857 MB / 1.81 GB, free: 226 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/3.302, allocations: 5 kB / 1.81 GB, free: 226 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003277/3.305, allocations: 1.919 MB / 1.812 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007838/3.306, allocations: 3.526 MB / 1.815 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/3.306, allocations: 12.5 kB / 1.815 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.457e-05/3.306, allocations: 17.36 kB / 1.815 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/3.308, allocations: 345.9 kB / 1.816 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.624e-05/3.308, allocations: 24.89 kB / 1.816 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/3.309, allocations: 232.4 kB / 1.816 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/3.31, allocations: 63.69 kB / 1.816 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/3.31, allocations: 4.562 kB / 1.816 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/3.312, allocations: 1.769 MB / 1.818 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/3.312, allocations: 7.375 kB / 1.818 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/3.313, allocations: 25.8 kB / 1.818 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/3.314, allocations: 347.6 kB / 1.818 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/3.314, allocations: 25.28 kB / 1.818 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/3.315, allocations: 192.9 kB / 1.818 GB, free: 222 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/3.316, allocations: 59.31 kB / 1.818 GB, free: 222 MB / 0.9323 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 (176): * Single equations (assignments): 176 * 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.001456/3.317, allocations: 0.7525 MB / 1.819 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/3.317, allocations: 145.7 kB / 1.819 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/3.32, allocations: 1.211 MB / 1.82 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/3.32, allocations: 12.02 kB / 1.82 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.32, allocations: 0 / 1.82 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/3.321, allocations: 1.254 MB / 1.822 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/3.326, allocations: 2.882 MB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/3.326, allocations: 5.078 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/3.327, allocations: 179.6 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/3.327, allocations: 4.562 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/3.327, allocations: 23.02 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/3.327, allocations: 11.34 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/3.327, allocations: 2.484 kB / 1.825 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/3.33, allocations: 1.907 MB / 1.827 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/3.331, allocations: 432.2 kB / 1.827 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/3.331, allocations: 17.16 kB / 1.827 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/3.332, allocations: 74.52 kB / 1.827 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/3.332, allocations: 59.14 kB / 1.827 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/3.332, allocations: 32.77 kB / 1.827 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001894/3.334, allocations: 1.251 MB / 1.828 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.01e-07/3.334, allocations: 0 / 1.828 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003213/3.337, allocations: 0.9574 MB / 1.829 GB, free: 220 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 86 * 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.001182/3.338, allocations: 0.4885 MB / 1.83 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00378/3.342, allocations: 2.299 MB / 1.832 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/3.342, allocations: 3.594 kB / 1.832 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/3.343, allocations: 0.5041 MB / 1.833 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/3.347, allocations: 0.8497 MB / 1.833 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/3.354, allocations: 4.278 MB / 1.838 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/3.355, allocations: 1.689 MB / 1.839 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002909/3.358, allocations: 0.9154 MB / 1.84 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/3.358, allocations: 136.9 kB / 1.84 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of SimCode: time 2.144e-06/3.358, allocations: 0 / 1.84 GB, free: 217.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.05371/3.412, allocations: 34.59 MB / 1.874 GB, free: 216.5 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)