Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 173.8 kB / 25.18 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9338/0.9338, allocations: 177.1 MB / 205.6 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.868/1.868, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7755 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.539e-05, allocations: 8.703 kB / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.008668/0.008683, allocations: 10.34 MB / 0.7856 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.01526, allocations: 4.772 MB / 0.7903 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.01592, allocations: 56.62 kB / 0.7904 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.01647, allocations: 254 kB / 0.7906 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.01787, allocations: 0.8422 MB / 0.7914 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.01956, allocations: 0.9731 MB / 0.7924 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.02329, allocations: 5.053 MB / 0.7973 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.02522, allocations: 1.668 MB / 0.7989 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.02747, allocations: 2.391 MB / 0.8013 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.02897, allocations: 1.44 MB / 0.8027 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.0292, allocations: 224 kB / 0.8029 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.03065, allocations: 1.037 MB / 0.8039 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.03108, allocations: 0.58 MB / 0.8045 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.03174, allocations: 0.8125 MB / 0.8053 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.03372, allocations: 2.411 MB / 0.8076 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.03372, allocations: 0 / 0.8076 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.12e-07/0.03372, allocations: 0 / 0.8076 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.03374, allocations: 0 / 0.8076 GB, free: 5.16 MB / 0.7605 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.002274/0.03601, allocations: 2.245 MB / 0.8098 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.03605, allocations: 10.5 kB / 0.8098 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/0.03653, allocations: 297.1 kB / 0.8101 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.03779, allocations: 1.105 MB / 0.8112 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.03785, allocations: 114.9 kB / 0.8113 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.03801, allocations: 152 kB / 0.8114 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.03917, allocations: 1.31 MB / 0.8127 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.03919, allocations: 4.766 kB / 0.8127 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.03927, allocations: 60 kB / 0.8128 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.03931, allocations: 39.98 kB / 0.8128 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.03993, allocations: 0.5063 MB / 0.8133 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.04397, allocations: 3.908 MB / 0.8171 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.04451, allocations: 0.5692 MB / 0.8177 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.04473, allocations: 191.3 kB / 0.8179 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/0.04711, allocations: 1.359 MB / 0.8192 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.04715, allocations: 47.55 kB / 0.8192 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 2.726e-06/0.04715, allocations: 0 / 0.8192 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.0006629/0.04781, allocations: 0.5294 MB / 0.8198 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.04784, allocations: 60.41 kB / 0.8198 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.04859, allocations: 1.098 MB / 0.8209 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.04865, allocations: 49.7 kB / 0.8209 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.04893, allocations: 0.6281 MB / 0.8215 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.04908, allocations: 329.1 kB / 0.8219 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.04931, allocations: 275.9 kB / 0.8221 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.04941, allocations: 365.8 kB / 0.8225 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.04963, allocations: 185 kB / 0.8226 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.05014, allocations: 0.5758 MB / 0.8232 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.05073, allocations: 0.7163 MB / 0.8239 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.05074, allocations: 4 kB / 0.8239 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0007878/0.05152, allocations: 0.7255 MB / 0.8246 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.05154, allocations: 11.94 kB / 0.8246 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.05155, allocations: 8.5 kB / 0.8246 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.05157, allocations: 19.98 kB / 0.8247 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.05226, allocations: 343.1 kB / 0.825 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.05227, allocations: 19.94 kB / 0.825 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.05266, allocations: 138.9 kB / 0.8251 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.05272, allocations: 47.98 kB / 0.8252 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003678/0.05309, allocations: 286.3 kB / 0.8255 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003544/0.05345, allocations: 0.5873 MB / 0.826 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005772/0.05402, allocations: 0.7057 MB / 0.8267 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.05403, allocations: 8.859 kB / 0.8267 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.000786/0.05481, allocations: 0.7284 MB / 0.8274 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.05483, allocations: 15.94 kB / 0.8275 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.05484, allocations: 8 kB / 0.8275 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.05485, allocations: 16 kB / 0.8275 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.05548, allocations: 342.5 kB / 0.8278 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.0555, allocations: 23.92 kB / 0.8278 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.05586, allocations: 107.2 kB / 0.8279 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.05592, allocations: 47.98 kB / 0.828 GB, free: 15.4 MB / 0.7917 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.0001511/0.05607, allocations: 255.9 kB / 0.8282 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.05621, allocations: 115.9 kB / 0.8283 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.05685, allocations: 0.5663 MB / 0.8289 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.05686, allocations: 8 kB / 0.8289 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.05686, allocations: 0 / 0.8289 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003723/0.05723, allocations: 0.5953 MB / 0.8295 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.05878, allocations: 1.346 MB / 0.8308 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.05878, allocations: 4.125 kB / 0.8308 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.05923, allocations: 204.9 kB / 0.831 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.05923, allocations: 4 kB / 0.831 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.05927, allocations: 20 kB / 0.831 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.05927, allocations: 7.938 kB / 0.831 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.05927, allocations: 3.984 kB / 0.831 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.05995, allocations: 0.735 MB / 0.8317 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.0602, allocations: 190.8 kB / 0.8319 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.06029, allocations: 23.92 kB / 0.8319 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.06056, allocations: 27.98 kB / 0.832 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.06062, allocations: 52.84 kB / 0.832 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.06066, allocations: 27.97 kB / 0.832 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004054/0.06106, allocations: 0.535 MB / 0.8326 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.06106, allocations: 0 / 0.8326 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001219/0.06228, allocations: 0.951 MB / 0.8335 GB, free: 9.57 MB / 0.7917 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.0003669/0.06265, allocations: 265.7 kB / 0.8337 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008993/0.06355, allocations: 0.9047 MB / 0.8346 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/0.06357, allocations: 20.44 kB / 0.8347 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.06376, allocations: 218.2 kB / 0.8349 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.06507, allocations: 0.7012 MB / 0.8355 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.06792, allocations: 2.685 MB / 0.8382 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.06843, allocations: 0.7521 MB / 0.8389 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.06944, allocations: 0.5107 MB / 0.8394 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of SimCode: time 6.31e-07/0.06944, allocations: 0 / 0.8394 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of Templates: time 0.0235/0.09293, allocations: 29.03 MB / 0.8678 GB, free: 6.555 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger > Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.706491827964783]